Search code examples
node.jsmacosloopbackjsstrongloop

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 http://pastebin.com/uJbjbXG3

/usr/local/bin/npm/node_modules/strongloop/bin/slc exists. Any thoughts?


Solution

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