0

I want to update my node.js project dependencies on VPS server(CentOS7).

I run this command for updating the dependencies:

/opt/cpanel/ea-nodejs16/bin/npm install

but it gives me this message:

/usr/bin/env: node: No such file or directory
3
  • Have you installed node? It looks like you have not. Show the output of type -a node Commented Feb 8, 2023 at 19:14
  • Yes, it installed by host provider. Commented Feb 9, 2023 at 4:20
  • Try: ln -s /usr/bin/nodejs /usr/bin/node Commented Feb 9, 2023 at 6:06

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.