meteorhacks / npm

Complete NPM integration for Meteor
http://meteorhacks.com/complete-npm-integration-for-meteor.html
MIT License
508 stars 43 forks source link

Document initialization #106

Open antoinep92 opened 8 years ago

antoinep92 commented 8 years ago

I followed the readme, and like #82 and #59, I didn't have a Meteor.npmRequire defined.

Maybe the workarround should be documented in the readme until this is fixed:

  1. meteor add meteorhacks:npm
  2. run meteor to initialize npm
  3. remove the packages/ directory
  4. run meteor to initialize npm again
  5. done, you can now use Meteor.npmRequire and run meteor without errors.
JohnAllen commented 8 years ago

Which packages directory did you remove? Just the ./packages/npm-container dir? I've got self/local packages so can't remove those obviously.

antoinep92 commented 8 years ago

Yep, just ./packages, so no go for you :(