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.
To fix the Cannot find module error, simply install the missing modules using npm . This will install the project's dependencies into your project so that you can use them. Sometimes, this might still not resolve it for you. In this case, you'll want to just delete your node_modules folder and lock file ( package-lock.
The package. json file is normally located at the root directory of a Node. js project. The name field should explain itself: this is the name of your project.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With