expo: Expo cant find StoreReview

🐛 Bug Report

Unable to resolve "./StoreReview/StoreReview" from "node_modules/expo/build/ExpoLazy.js"
Failed building JavaScript bundle.

Environment

Expo CLI 3.1.2 environment info: System: OS: macOS 10.14.6 Shell: 5.3 - /bin/zsh Binaries: Node: 12.7.0 - ~/.nvm/versions/node/v12.7.0/bin/node npm: 6.10.0 - ~/.nvm/versions/node/v12.7.0/bin/npm IDEs: Android Studio: 3.1 AI-173.4670197 Xcode: 11.0/11A420a - /usr/bin/xcodebuild npmPackages: expo: ^35.0.0 => 35.0.0 react: 16.8.3 => 16.8.3 react-native: https://github.com/expo/react-native/archive/sdk-35.0.0.tar.gz => 0.59.8 react-navigation: ^3.11.1 => 3.13.0 npmGlobalPackages: expo-cli: 3.1.2

Simulator (iPhone 8 - 13.0)

Steps to Reproduce

No idea. This error appear after updating expo by npm i in working project

Expected Behavior

Project would start as usual

Actual Behavior

Got error image

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 2
  • Comments: 15 (4 by maintainers)

Commits related to this issue

Most upvoted comments

If anyone else runs into this issue after upgrading the Expo SDK, run expo r -c to clear the expo cache as well as npm cache clean -f. Thanks for the help!

Hi @AdamJNavarro !

Thats most interesting part. I dont import StoreReview anywhere in the project. I dont use this module at all. Stacktrace points to expo/build/ExpoLazy.js but there is no such import statement either. I cant get what exactly requires this module.

i had the same issue and @AdamJNavarro was right it is a cache issue.