No announcement yet.

NodeJS - Virtual Environment

  • Filter
  • Time
  • Show
Clear All
new posts

  • noyearzero
    For anyone interested, my particular problem was running the commands as the root user. You need to be logged in as the account user.

    Leave a comment:

  • noyearzero
    started a topic NodeJS - Virtual Environment

    NodeJS - Virtual Environment

    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 --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:

    And the environment is