1
I have access to a project backend and would like to know how I do to rotate this project. It uses loopback
and when reading the documentation of loopback
, in instruction 4 says:
Start the web server.
Which commando should use in the Ubuntu to begin this webserver
with the loopback
?
After rotating the command npm install -g loopback-cli
and try to run the system with node .
or node server.js
this one shows up ERROR in the terminal:
node server.js
runs the file, or you want to know how to have it autonomously to start when you have problems or the server reboots?– Sergio
See if this is http://loopback.io/getting-started/ and this is https://loopback.io/doc/en/lb3/Running-and-debugging-apps.html help
– Tmc
@Sergio when I try
node server.js
message appears: loopback modules not found– Junior Vilas Boas
You can put the error in the question?
– Sergio
@Tmc I installed the loopback as it talks on the first link and tried to run using the
node .
but says that the loopback module not found. You know what it might be? And I circled the remotenpm install -g loopback-cli
– Junior Vilas Boas
@Sergio yes, just a moment!
– Junior Vilas Boas
@Sergio edited question!
– Junior Vilas Boas
You got that package on
package.json
? If it doesn’tnpm install --save loopback
. If you’ve got itnpm install
.– Sergio
@Tmc I edited the question by posting the error.
– Junior Vilas Boas
@Sergio I needed to have rotated the
npm install
really! It worked, thank you!– Junior Vilas Boas
@Tmc worked when I read that question you sent, thank you!
– Junior Vilas Boas