【发布时间】:2021-05-05 10:25:38
【问题描述】:
当我尝试在 Android 手机上运行 react-native 应用程序时遇到错误
构建 JavaScript 包失败。 “node_modules\uuidv4\build\lib\uuidv4.js”中的包尝试 导入 Node 标准库模块“util”。 它失败了,因为本机 React 运行时不包含 节点标准库。阅读更多 https://docs.expo.io/workflow/using-libraries/#using-third-party-libraries
但它在网络上运行(网络浏览器)....帮我解决这个错误
【问题讨论】:
标签: node.js react-native