New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
react-native start的时候出错 #13
Comments
你好,开发环境都配置好了吗? |
开发环境都配置好了,我自己创建的AwsomeProject是可以运行起来的。
|
但是使用awsomeProject和ZhihuDaily项目的时候有一个不通就是npm的源不同 在跑ZhihuDaily项目的时候,我用的是淘宝的npm http://blog.csdn.net/spy19881201/article/details/26943051 不知道这个有没有影响? |
|
|
This may help: facebook/react-native#2880 |
真是。。。。看来是node_module的问题 |
我也遇到这个问题,怎么解 |
运行 react-native run-android 之前先运行 npm install , 解决了这个问题。 |
大神们,可以配置使用全局的node_modules吗,每一个工程目录下面都有一个node_modules文件夹,文件基本相同. |
@easternHong 配置全局通常是两种情况, 一个是给开发工具dev tool比如grunt, http-server, browser-sync等为的是开发的方便, 或者第二种接口的command line tool比如aws\react-native等等, 感觉大致上还是工具类的居多, 框架类的还是通过node_modules来安装更新, 毕竟npm install可以根据package.json规定的版本区间自动更新符合要求的版本号~个人感受哈, 欢迎补充! |
npm installl |
npm installl |
ERROR: JAVA_HOME is set to an invalid directory: C:\Program Files\Java\jdk1.8.0_101\bin Please set the JAVA_HOME variable in your environment to match the 这个错误怎么处理呢 |
git clone下来代码,进入root
如何处理。。。
The text was updated successfully, but these errors were encountered: