0

I think I have installed npm.. But when I try to type npm -v ,it shows

  -bash: /usr/local/bin/npm: No such file or directory

How to fix that.. node -v works fine... The terminal shows

v0.12.4

Can anyone help me ...

1 Answer 1

2

I have fixed that problem by reinstall node and npm. For mac user, try to type

sudo curl -L npmjs.org/install.sh | sudo sh

Hope it works.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.