【发布时间】:2018-04-19 14:09:42
【问题描述】:
错误:捆绑失败:“无法解析模块
crypto来自myproject/node_modules/speakeasy/index.js:模块 模块映射中不存在\n\n这可能与 https://github.com/facebook/react-native/issues/4968\n解决尝试 以下内容:\n 1. 清除守望者手表:watchman watch-del-all。\n 2. 删除node_modules文件夹:rm -rf node_modules && npm install。\n 3. 重置打包程序缓存:rm -fr $TMPDIR/react-*或npm start -- --reset-cache。”
遵循建议的步骤似乎没有任何好处。
也尝试yarn add react-native-crypto,但这也无济于事。
【问题讨论】: