Simon D Simon D - 1 year ago 139
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?

Answer Source

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