node: No such file or directory

Just after upgrading the npm on our Ubuntu system, npm command stopped working. Suddenly it started showing the error, “/usr/bin/env: node: No such file or directory”.

npm

To do the quick solution, we run the following command.

sudo ln -s /usr/bin/nodejs /usr/bin/node

Now check in your system. We hope it works for you also.

Read Some More Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.