当我为我的 React Native 项目运行我的 Jenkins 构建时,它失败并出现以下错误:
Unable to resolve module `reactotron-core-client` from `/Users/nfib/Jenkins/Jenkins-Workspaces/ENGA/ENGAL/node_modules/reactotron-redux/dist/index.js`: Module does not exist in the module map
Execution failed for task ':app:bundleDevReleaseJsAndAssets'.
我遵循了建议rm -rf node_modules && npm install
,但我不确定这是否会有所帮助,因为在我看来,它似乎是 npm 团队的通用解决方案。
React-Native 版本:0.53.3 与"reactotron-react-native": "3.5.0", "reactotron-redux": "3.1.0",
有没有人遇到过类似的问题?我怎样才能确保这种情况不会继续发生?