【发布时间】:2016-07-24 17:35:09
【问题描述】:
我正在将 twilio 包实现到我的 react-native 项目中,当我在文件中需要它时,项目不会加载,我看到以下错误:
Unable to resolve module crypto from /Users/[myname]/Documents/Projects/React-Native/[app-name]/node_modules/twilio/lib/webhooks.js: Unable to find this module in its module map or any of the node_modules directories under /Users/node_modules/crypto and its parent directories
我已尝试直接安装 crypto 软件包,但似乎也不起作用。
有没有人遇到过这个问题,有办法解决吗?
【问题讨论】:
标签: react-native twilio node-modules