gpt4 book ai didi

ios - React Native Changed Directory Name Packager 不再运行

转载 作者:塔克拉玛干 更新时间:2023-11-02 09:53:51 24 4
gpt4 key购买 nike

我将目录的名称从 code 更改为 Code,当我运行 react-native run-ios 时,模拟器启动但打包程序不再启动。我必须更改什么才能解决此问题,而不必改回我的目录名称?

这是我遇到的错误:

error: PCH was compiled with module cache path '/Users/kelvin/Documents/Code/Tutorial/React-Native/manager/ios/build/ModuleCache/YT5URB46FE58', but the path is currently '/Users/kelvin/Documents/code/Tutorial/React-Native/manager/ios/build/ModuleCache/YT5URB46FE58'

最佳答案

尝试删除之前的构建文件夹并重新创建。

rm -rf ios/build  // for removing
react-native run-ios // create build and run

关于ios - React Native Changed Directory Name Packager 不再运行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46766265/

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