Guest User

Untitled

a guest
Oct 17th, 2017
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. # Linux VM (Homestead) on a Windows 10 host
  2. # Doing npm install --no-bin-links on Laravel 5.5 results to an error
  3. # added info: we migrated from Laravel 5.2
  4. # to fix, install yarn
  5.  
  6. $ npm install -g yarn
  7.  
  8. # delete your node_modules folder (optional but to be safe, do this as well)
  9. $ rm -rf node_modules
  10.  
  11. # install again but using yarn
  12. $ yarn install --no-bin-links
  13.  
  14. # you also need to install cross-env
  15. $ npm install --save-dev cross-env
  16.  
  17. # after that you can now run to your VM
  18. $ sudo npm run dev
Add Comment
Please, Sign In to add comment