Aika
Aika

Reputation: 146

[Error: Can't find npm module 'react/package.json'. Did you forget to call 'Npm.depends' in package.js within the 'modules-runtime' package?]

Please I need to understand what I must do to take care of this problem

"[Error: Can't find npm module 'react/package.json'. Did you forget to call 'Npm.depends' in package.js within the 'modules-runtime' package?]" I kept having as I try to develop app in meteor with react.

I really do not know what triggers the error.

Thanks for your anticipated assistance.

Upvotes: 7

Views: 1721

Answers (1)

Dušan Minić
Dušan Minić

Reputation: 41

You will need to install react and react-addons-pure-render-mixin.

npm install --save react react-addons-pure-render-mixin

I was having the same issue from react-meteor-data package when I tried to start my app.

https://atmospherejs.com/meteor/react-meteor-data

Upvotes: 1

Related Questions