Browserify Build Error

I’m trying to debug this and am struggling to see why this is not working. At one time it was working but now won’t build.


   While building package npm-container:
   error: couldn't install npm packages from npm-shrinkwrap: Command failed: npm WARN package.json
   packages-for-meteor-npm-container@0.0.0 No description
   npm WARN package.json packages-for-meteor-npm-container@0.0.0 No repository field.
   npm WARN package.json packages-for-meteor-npm-container@0.0.0 No README data
   npm WARN engine escodegen@1.8.0: wanted: {"node":">=0.12.0"} (current: {"node":"0.10.40","npm":"1.4.28"})
   npm ERR! peerinvalid The package react does not satisfy its siblings' peerDependencies requirements!
   npm ERR! peerinvalid Peer react-datepicker@0.12.0 wants react@>=0.12 <0.14
   npm ERR! peerinvalid Peer react-time-picker@1.1.0 wants react@>=0.12.0

But then if I run this it will compile

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

However, in my console i’m getting a Uncaught ReferenceError: require is not defined in the console (from the browserify page). I was getting the first error on 1.1 but 1.2 also adds the required error (it’s up to date too… ~0.9 something).

Any thoughts?

does the react got updated as well? since it said react@>=0.12 <0.14?

Yea it updated to 0.14 . I ended up migrating to 1.3 beta to fix the problem.