I've problems with installing npm, node-gyp and gulp on my MAC. I need this for a Laravel project. I did my research throughout the internet but I could not find a solution which was working for me. It seems like something goes wrong with the paths.
I've tried:
node -v
and npm -v
everything was accessible globally.When it comes to install gulp and node-gyp everything goes wrong. I tried with npm install -g gulp
but I could not access the application file nor globally or through the install path.
If you need more info let me know!
Thank you so much for your help!
I've followed this instructions here. Everything works fine until I get to the point where I have to install npm manually through curl -L http://npmjs.org/install.sh | sh
. I get an error message that the SSL certificate is not verificated. Trying with -k
gives me an error that the file could not be found. I've also tried to download the shell script and run it manually from the terminal. In that case it seems to do something but again it causes an issue with the SSL certificates.
I finally found the solution. Installing via homebrew seems to make the least bit of problems. It does install everything well but as stated in the link from my original post, it does mess up the paths. In case someone needs additional packages (node-gyp, gulp), it will have to be installed via sudo npm -g yourpackagehere
.