Simon D Simon D - 9 months ago 104
Node.js Question

SLC Command not found

Im using Mac OS X 10.10.2 .

node -v v0.12.1

npm -v 2.5.1

Installing the strongloop Package via
npm install -g strongloop
worked only with sudo even when i fixed the permission rights via

$ sudo chown -R $USER /usr/local/bin

$ sudo chown -R $USER /usr/local/lib/node_modules

Without sudo it throws EACCS errorĀ“s

Any thoughts?


As mentioned in a reply to an possible solution. Here is my solution npm config set prefix /usr/local