An error is reported when the location of the react native project is moved

Today, after moving the location of the react native project, I found an error after running ios, as follows

PCH was compiled with module cache path '/Users/tyler/workspace/html5space/HappyTime/ios/build/ModuleCache/HST39TUTS9TS', but the path is currently '/Users/tyler/workspace/webstormspac/react-native-template/ios/build/ModuleCache/HST39TUTS9TS'

Found the solution:

Just delete the ModuleCache folder under the build folder under the ios project folder, as follows


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324750046&siteId=291194637