Redirecting to http://loopback.io/doc/en/lb2/Installing-on-Linux.html ...
Install compiler tools.
Set directory privileges
To install Node and StrongLoop , you need permissions to write to directories:
If you see errors such as:
Then you don't have the required rights to create files or directories. Either change the rights for the specified directories, or run the command using
sudo. In general, it's better to fix the directory rights as follows:
This command makes your user account the owner of the
/usr/local directory. Then you won't ever have to use
sudo to install Node or install packages globally with
npm. For more information, see How to Node.
If you have to use
sudo, use the following command:
Follow these steps:
Enter this command:
If you run into any problems, see Installation troubleshooting.
Errors on Ubuntu
You may see the following errors when installing on Ubuntu:
To fix this, enter the following command: