I'm trying to upgrade from react native 0.60 to 0.62 - I finished all the steps and tried to run pod install
, but I get the error below that the module couldn't be found. However, when I cmd+click to follow that path, the file opens. I tried removing node_modules
and running npm i
- no luck.
pod installmodule.js:491 throw err; ^Error: Cannot find module '.../node_modules/@react-native-community/cli/build/bin.js(node:41332) ExperimentalWarning: The WHATWG Encoding Standard implementation is an experimental API. It should not yet be used in production applications.' at Function.Module._resolveFilename (module.js:489:15) at Function.Module._load (module.js:439:25) at Function.Module.runMain (module.js:609:10) at startup (bootstrap_node.js:158:16) at bootstrap_node.js:578:3[!] Invalid `Podfile` file: A JSON text must at least contain two octets!.