我使用的是一个npm包,它需要如下的events模块这在React Native中失败,因为找不到事件模块。我知道我可以在react-native中做var EE = require('EventEmitter');,但是npm包处理这个问题的正确方式是什么(例如,兼容node和react-native)?
我一直在学习react-native教程并运行在多次尝试和错误设置正确的权限和路径后,我能够让应用程序在IOS上运行。很棒的应用程序在项目目录中我得到的react-native初始化newApp
Looks like React Native project alreadyRun this command from a different folder or remove