I did the procedure with adding newArchEnabled
and running npx expo-doctor
and npx expo install --check
commands, but it didn't help. After that, I deleted directory node_modules
and file package-lock.json
file and ran npm install
and after that the error went away.