2 ms·
npm installation is broken with brew. had to use the standalone installer coz none of the workarounds would add npm to the path correctly(brew has some problems
by kkarakk 7y ago
npm installation is broken with brew. had to use the standalone installer coz none of the workarounds would add npm to the path correctly(brew has some problems with access permissions and can't be sudo forced to get those permissions)
kinda irritating
- Hackbraten 7y agoAre you talking about the `node` package? That’d be strange because the package definitely creates a `npm` symlink in /usr/local/bin and that has always worked for me. Care to elaborate a bit on the permission problems?
- kkarakk 7y agohttps://gist.github.com/rcugut/c7abd2a425bb65da3c61d8341cd4b02d https://gist.github.com/rcugut/c7abd2a425bb65da3c61d8341cd4b... it's this "known" unfixable issue and i was too lazy to do the workaround properly(i want to work with node not spend another hour figuring out the intricacies of node's interaction with brew) and googling online led me to the simple solution of just installing the package from node directly. big fail imo