android – 如何为反应原生安装rnpm包
作者:互联网
我正在尝试为我的react-native软件包安装此软件包. https://www.npmjs.com/package/react-native-dialogs
我看到我需要执行此命令才能安装它. rnpm install –save react-native-dialogs
我的机器上安装了node和npm.我不确定rnpm是什么.我收到了一个错误.我试图通过一些链接,但没有运气.
‘rnpm’ is not recognized as an internal or external command,
operable program or batch file.
解决方法:
尝试将rnpm更改为npm:npm install –save react-native-dialogs.它可能有效.
编辑:
解决方案是安装rnpm(React Native Package Manager):https://github.com/rnpm/rnpm
标签:android,node-js,react-native,react-native-android 来源: https://codeday.me/bug/20190724/1523144.html