0

I have a repo which declares a dependency on npm@^2.7.5. In that repo:

  • npm -v: 1.4.23
  • ./node_modules/.bin/npm -v: 2.7.6

As you can see, npm is installed globally and locally, as expected. But who wants to type out ./node_modules/.bin/npm everytime they want to use npm?

There must be a better way to do this... Any clues?

Shawn
  • 10,931
  • 18
  • 81
  • 126

0 Answers0