Finally, a working npm install routine for laravel-elixir
But its a big problem, if you are on windows (It’s not made for web developing isn’t it?). laravel-elixir or gulp are based on node.js (https://nodejs.org/en) and node.js doesn’t like windows at all. Cause of the big dependency trees node.js would like to make symlinks but they doesn’t exists on a windows system. So even the virtual homestead machine can not create them.
consequential you have to
npm install with the special
--no-bin-links option. In my case there often the following error occured:
npm ERR! Maximum call stack size exceeded npm ERR! npm ERR! If you need help, you may report this error at: npm ERR! <https://github.com/npm/npm/issues> npm ERR! Please include the following file with any support request: npm ERR! /home/vagrant/Code/linguee-me-webapp/npm-debug.log
So I tried a lot and despaired. But then I found a solution always works for me from now. Just install it two times and rebuild node-sass after all and it works… finally…
Sources: http://stackoverflow.com/a/30067395/4444567 and https://github.com/npm/npm/issues/10776#issuecomment-209638410
thank you very much!!
you are a genius!!
i fight it 3 hours now!