meteorhacks / npm

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

"Error: Cannot find module" after updating to METEOR@1.2.0.2 #99

Closed art-in closed 8 years ago

art-in commented 8 years ago

I've just updated to METEOR@1.2.0.2 from 1.2.0.1, and start to receive "Error: Cannot find module" errors.

Error: Cannot find module 'externalify' from '[...]/packages/npm-container/.npm/package'

packages.json:

{
  "externalify": "0.1.0",
  "react-jss": "1.0.4",
  "jss-nested": "0.1.8",
  "classnames": "2.1.3"
}

Strange thing is that I can see externalify actually exists in \packages\npm-container\.npm\package\node_modules\externalify\ and its version is right 0.1.0

I've tried to update meteorhacks:npm as described at front page

rm -rf packages/npm-container
meteor remove npm-container
meteor update meteorhacks:npm
meteor

But looks like this does not help. (I've noticed npm-container package adds anyway. Do not know if this is expected)

meteorhacks:npm@1.5.0
npm-container@1.2.0

Any thoughts?

art-in commented 8 years ago

Ok. So I had to rollback to previous version and update in right way this time (--patch).

meteor update --release 1.2.0.1
meteor update --patch