Vaprobash | Vagrant Provisioning Bash Scripts | DevOps library
kandi X-RAY | Vaprobash Summary
kandi X-RAY | Vaprobash Summary
Vagrant Provisioning Bash Scripts.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Vaprobash
Vaprobash Key Features
Vaprobash Examples and Code Snippets
Community Discussions
Trending Discussions on Vaprobash
QUESTION
I have a small Laravel Echo Server setup using this package (https://github.com/tlaverdure/laravel-echo-server). I have the following setup:
...ANSWER
Answered 2017-Feb-28 at 10:19The problem is that the client side couldn't connect to the server because the port wasn't responding. Ironically, I just removed the host
key from the laravel-echo-server.json
config file and re-run the server. Everything worked like a charm!
QUESTION
I'm trying to run npm install
inside my vagrant box but get this error:
ANSWER
Answered 2017-Jan-09 at 14:48I was struggling with this exact issue for quite a while as well. I was able to resolve it with the advice on here - https://github.com/mitchellh/vagrant/issues/7163
Scroll down to the second last comment and follow those steps to move your node_modules folder out of the shared folder, that should fix everything for you.
For ease here's the comment
There are some issues with installing the node packages directly in the shared folder. A good workaround is to install the packages somewhere inside the vm then create a symlink.
Ex:
cd /vagrant
rm -rf node_modules
mkdir /home/vagrant/vagrant_node_modules
cp package.json /home/vagrant/vagrant_node_modules
cd /home/vagrant/vagrant_node_modules
npm install
cd /vagrant
ln -s /home/vagrant/vagrant_node_modules/node_modules node_modules
ls -ld node_modules
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Vaprobash
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page