gpt4 book ai didi

ios - React-native上XCode 8.3.2上的Shell脚本调用错误

转载 作者:行者123 更新时间:2023-12-01 19:50:43 27 4
gpt4 key购买 nike

当我运行我的React Native App

/Users/GLB-285/Desktop/ReactProjects/DribbleProject/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/double-conversion.build/Script-190EE32F1E6A43DE00A8543A.sh: line 3: /Users/GLB-285/Desktop/ReactProjects/DribbleProject/node_modules/react-native/scripts/ios-install-third-party.sh: Permission denied**
时出现此错误
在终端:
child_process.js:495
throw err;
^
Error: spawnSync /Users/GLB-285/Desktop/ReactProjects/DribbleProject/node_modules/react-native/local-cli/setup_env.sh EACCES
at exports._errnoException (util.js:1020:11)
at spawnSync (child_process.js:450:20)
at Object.execFileSync (child_process.js:487:13)
at Object.run (/Users/GLB-285/Desktop/ReactProjects/DribbleProject/node_modules/react-native/local-cli/cliEntry.js:136:16)
at Object.<anonymous> (/usr/local/lib/node_modules/react-native-cli/index.js:117:7)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)

最佳答案

  • 清理〜/ .rncache文件夹。
  • 通过手册下载4个第三方库

  • 重新运行 react-native run-ios命令并等待打印
    curl: Saved to filename message. 

    You should check 100% Received status.

    在构建阶段切勿按ctrl + c。

    关于ios - React-native上XCode 8.3.2上的Shell脚本调用错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46149821/

    27 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com