I\'m attempting to execute npm install
in Git Bash client on Windows 8.1 but receiving the following error:
npm WARN optional SKIPPING OPTIONAL
In case you want npm to stop from creating symlinks for you, you can avoid that by
npm install --no-bin-links
more information about it on npm documentation https://docs.npmjs.com/cli/install.html
Note: This might have some unknown side effects, this methods worked fine for an application I was working on and when I encountered this issue. The side effects might be related to symlink, which npm is trying to create, and in the later phase of development it finds out that the symlink is not available.
What worked for me was to start windows command prompt as Administrator and vagrant up
from there.
The problem was, that windows as a Host machine, needs administrator privileges to create symlinks
.
to get a rid of previous unsuccessful installation I run npm clean-install
npm run dev still ends up with some errors but ui:auth
works.
What worked for me was this. In the Homestead environment I used:
sudo su
then run again
npm install