Love the NodeJS integration so far. When I enter the command it shows in cpanel to enter the virtual environment, and then I run an npm install with save
npm install socket.io --save
It install and works, but it gives some warnings about the package.json file not being there, so it doesnt write the dependencies. Ive also tried changing the current dir when running the command to the actual directory where the package.json file exists. Same issue.
The path where the app and package.json files are is:
/home/$username/public_html/nodejs/$app/
And the environment is
/home/$username/nodevenv/public_html/nodejs/$app/8
npm install socket.io --save
It install and works, but it gives some warnings about the package.json file not being there, so it doesnt write the dependencies. Ive also tried changing the current dir when running the command to the actual directory where the package.json file exists. Same issue.
The path where the app and package.json files are is:
/home/$username/public_html/nodejs/$app/
And the environment is
/home/$username/nodevenv/public_html/nodejs/$app/8
Comment