Answer the question
In order to leave comments, you need to log in
What is the magic - npm not found?
Installed node.js
node -v
successfully gives v12.18.3
npm -v
error: npm not found
The magic is that node and npm are in the same folder /usr/local/bin
, the path of which is registered in $PATH
only npm for some reason is not available.
I tried LTS and Current versions, reinstalled, restarted the machine, the result is the same
Answer the question
In order to leave comments, you need to log in
the problem was in crooked aliases in another application, which created a conflict
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question