V
V
viktorross2019-04-04 01:16:35
Node.js
viktorross, 2019-04-04 01:16:35

How to install application on server via nodejs?

Hello, please tell me, I have never encountered this, I need to install the nodejs application via an SSH connection, but nothing happens.
Where should the folder with the application be uploaded and how to set the path to it on the VPS?
it was written that it is installed like this $npm install modules/ but the answer is this install: missing destination file operand after `modules/'
tried like this $npm install /var/www/v0596839/data/www/site.ru/modules/
but the same.
please tell me how to be

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Robur, 2019-04-04
@viktorross

You need to go to the folder where the package.json is and run npm install
"was written" there - is that where it was written?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question