child_process.js:506throwerr;^Error:spawnSync/Users/UserName/Desktop/Path/node_modules/react-native/local-cli/setup_env.sh EACCES
at exports._errnoException(util.js:1022:11)at spawnSync(child_process.js:461:20)atObject.execFileSync(child_process.js:498:13)atObject.run(/Users/UserName/Desktop/Path/node_modules/react-native/local-cli/cliEntry.js:156:16)atObject.(/usr/local/lib/node_modules/react-native-cli/index.js:117:7)atModule._compile(module.js:570:32)atObject.Module._extensions..js(module.js:579:10)atModule.load(module.js:487:32)at tryModuleLoad(module.js:446:12)atFunction.Module._load(module.js:438:3)
I am aware that it only tries to set the ulimit (open file limit) to 2048 which is permiss
在根目录下运行这句(mac系统)
chmod -R 777 node_modules
网友评论