Antrikshy Antrikshy - 1 year ago 255
Node.js Question

How can I get the slc command to work on Ubuntu?

I have installed Strongloop using

npm install -g strongloop
on my Ubuntu 14.04 server. The
command does not work. It says

The program 'slc' is currently not installed. You can install it by typing:
sudo apt-get install heimdal-multidev

How can I get it to run the Strongloop CLI instead of looking for this package? I have added this to my PATH and it still doesn't work. Any ideas?

Other Strongloop commands, like
work and
is listed in
npm list -g

Answer Source

Looks like the Node installation that optionally comes with a Digital Ocean Droplet installs to a different location that's not in $PATH. I'm pretty sure that was the issue. Anyways, I fixed it by spinning up a server without Node pre-installed and followed this guide. Just use npm install -g strongloop instead of strong-cli because the latter has been deprecated.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download