Node.js react native-纱线安装-节点前gyp错误!构建错误
我正在尝试使用Node.js react native-纱线安装-节点前gyp错误!构建错误,node.js,react-native,Node.js,React Native,我正在尝试使用纱线安装构建一个应用程序,但它显示了很多错误。我不知道那是什么 ------------------------------------------------------------ ~/dev/myapp(开发)»llmyuser@Leandros-MacBookPro 总数712 -rw-r--r--1我的用户职员1.4K 7月4日15:10 App.js -rw-r--r--1我的用户员工12B 2018年9月5日README.md drwxr-xr-x 18 myuser
纱线安装
构建一个应用程序,但它显示了很多错误。我不知道那是什么
------------------------------------------------------------
~/dev/myapp(开发)»llmyuser@Leandros-MacBookPro
总数712
-rw-r--r--1我的用户职员1.4K 7月4日15:10 App.js
-rw-r--r--1我的用户员工12B 2018年9月5日README.md
drwxr-xr-x 18 myuser staff 576B 8月14日09:09 android
-rwxr-xr-x 1 myuser staff 65B 7月4日15:10 android_install.sh
-rw-r--r--1 myuser staff 55B 8月14日09:09 app.json
drwxr-xr-x 47 myuser staff 1.5K 7月4日15:28资产
-rw-r--r--1 myuser staff 76B Jul 4 15:10 babel.config.js
drwxr-xr-x 3 myuser staff 96B 2018年9月5日修复说明
-rw-r--r--1我的用户员工167B 2018年9月5日index.js
drwxr-xr-x 14 myuser staff 448B Aug 14 09:09 ios
-rw-r--r--1 myuser staff 370B 7月4日15:10 metro.config.js
-rw-r--r--1 myuser staff 2.6K Aug 14 09:09 package.json
-rwxr-xr-x 1 myuser staff 104B Jul 4 15:10 release.sh
drwxr-xr-x 11 myuser staff 352B 2018年9月5日src
drwxr-xr-x 7 myuser staff 224B 2018年9月5日第三方
-rw-r--r--1我的用户员工317K 8月14日09:09纱线.lock
------------------------------------------------------------
~/dev/myapp(开发)»纱线安装myuser@Leandros-MacBookPro
纱线安装v1.17.3
[1/4]构建应用程序不需要运行“warn install
”。这是您将用于以后安装所需模块、在要求您使用该命令时运行或删除并重置“node\u modules
”文件的命令
npm-g安装react native cli
react native init yourproject
cd您的项目
react native run android
或react native run ios
构建应用程序不需要运行“warn install
”。这是您将用于以后安装所需模块、在要求您使用该命令时运行或删除并重置“node\u modules
”文件的命令
npm-g安装react native cli
react native init yourproject
cd您的项目
react native run android
或react native run ios
为什么要运行install来创建应用程序?@hongdevelop我正在运行warn install
来构建此应用程序。。这是正确的方法,不是吗?为什么要运行install来创建应用程序?@hongdevelop我正在运行warn install
来创建此应用程序。。这是正确的方法,不是吗?这句话没有回答上面暴露的问题。@morphet81仔细阅读问题并查看提问者尝试的代码。这句话没有回答上面暴露的问题。@morphet81仔细阅读问题并查看提问者尝试的代码。