当前位置:网站首页>spawn ./gradlew EACCES at Process.ChildProcess._handle.onexit
spawn ./gradlew EACCES at Process.ChildProcess._handle.onexit
2022-06-11 17:18:00 【develop_csdn_LGQ】
执行 npm run android 遇到的问题如下
> [email protected] android /Users/xxxxx/Desktop/xxx
> react-native run-android
info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag.
Jetifier found 2217 file(s) to forward-jetify. Using 8 workers...
info JS server already running.
info Installing the app...
error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup. Run CLI with --verbose flag for more details.
Error: spawn ./gradlew EACCES
at Process.ChildProcess._handle.onexit (internal/child_process.js:264:19)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] android: `react-native run-android`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] android script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/xxx/.npm/_logs/2022-06-08T03_28_52_495Z-debug.log有可能是权限没配的问题,运行项目执行的 ./gradlew 脚本没有权限的问题,解决如下:
就是给./gradlew配置执行权限
chmod +x android/gradlew然后在执行
npm run android 完美解决
边栏推荐
猜你喜欢

Chapter II relational database

Global and China Mobile Network Optimization (MnO) industry development panoramic survey and Investment Strategy Research Report 2022-2028
![[Clickhouse column] create a new library, user and role](/img/e5/d11493a37e25b7dde6cc43b3828749.png)
[Clickhouse column] create a new library, user and role

which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mod

Vscode configures eslint to automatically format with an error "the setting is deprecated. use editor.codeactionsonsave instead with a source“

Create database instance

Meituan won the first place in fewclue in the small sample learning list! Prompt learning+ self training practice

ffmpeg硬件编解码Nvidia GPU

A journey of database full SQL analysis and audit system performance optimization

Hands on deep learning - multiple input and output channels in the convolution layer
随机推荐
DFS和BFS笔记(一)基于C语言的广度优先搜索
Activity | authing's first channel cooperation activity came to a successful conclusion
Authoring share | understanding saml2 protocol
[Clickhouse column] create a new library, user and role
Oracle database merge row records, wmsys WM_ Use of the concat function and group in MySQL_ Use and comparison of concat (ID).
通过Xshell连接有跳板机/堡垒机的服务器
Axi protocol Basics
子类继承了什么、多态、 向上转型
搜狐全员遭诈骗,暴露哪些问题?
Song of the sea in 5g Era
Centos7 server configuration (IV) -- installing redis
用实际案例分析PMP与ACP应该考哪个?哪个更有用?
Don't you understand the design and principle of thread pool? Break it up and crush it. I'll teach you how to design the thread pool
LeetCode-1005. Maximized array sum after K negations
Cs0006 C failed to find metadata file "c:\users\... Problem
Meituan won the first place in fewclue in the small sample learning list! Prompt learning+ self training practice
Sohu tout le personnel a été escroqué, quels problèmes ont été exposés?
我的CのERROR们
How does Sister Feng change to ice?
Connection and difference of network streaming media protocol (RTP RTCP RTMP HLS)