I\'m using a local module in package.json
that also has react-native
as a dependency.
In my APP package.json
:
Faced same issue Resolved it !!
All the npm packages in project have node modules. Make sure that node_modules directory inside packages should not include already present node module.
In my case react-native
was present in node_modules of my project as well as node_modules of another forked library.
As the library was forked, I could remove node_modules directory from it and the issue got resolved.