SublimeLinter / SublimeLinter-jshint

SublimeLinter plugin for JavaScript, using jshint.
MIT License
460 stars 46 forks source link

node js global flag -g doesn't work without sudo on El Capitan #90

Closed ortonomy closed 7 years ago

ortonomy commented 8 years ago

I don't know if this should be in the wiki / install page, but I found that using

npm install xxxx -g

will not work unless using sudo due to El Capitan's stricter controls on where scripts can run. Perhaps a note to people trying to install and getting errors would be nice.

mokkabonna commented 7 years ago

This is platform specific. And related to npm, so not relevant.