Error: ENOENT: no such file or directory

hello,

I get this issue after running yarn, after upgrading to Expo SDK 43.

Reproducible demo:
Upgrade app from expo 42 to to expo 43 , after it has done, the run yarn install

` % expo install
Installing using Yarn.

yarn install
yarn install v1.22.10
[1/4] :mag: Resolving packages…
success Already up-to-date.
$ node ./src/utils/suppress-rc-warnings.js
internal/fs/utils.js:307
throw err;
^

Error: ENOENT: no such file or directory, open ‘./node_modules/metro/src/lib/polyfills/require.js’
at Object.openSync (fs.js:476:3)
at Object.readFileSync (fs.js:377:35)
at Object. (/Users/brandbookafrica/dev/workspace/ibottit/ibottit-mobile/src/utils/suppress-rc-warnings.js:14:31)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
at internal/main/run_main_module.js:17:47 {
errno: -2,
syscall: ‘open’,
code: ‘ENOENT’,
path: ‘./node_modules/metro/src/lib/polyfills/require.js’
}
`

SDK Version: 43

USING:
Expo Workflow: managed
expo-cli version 5.3.2

ENVIRONMENT INFO:
System:
TERM_PROGRAM: Apple_Terminal
SHELL: /bin/zsh
OS: macOS 11.2.3

BINARIES:
Node: v14.16.0
npm: 8.1.0
yarn: 1.22.10

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.