Expo Tools Extension error : Cannot find module '/...'
haibert opened this issue ยท 11 comments
Summary
i'm trying to use Expo: Preview modifier to inspect somethings and it keeps saying that the config plugins in my project do not exist even though I have gone to the node-modules root directory of Sentry and seen the plugin config file.
Environment
Expo CLI 4.11.0 environment info:
System:
OS: macOS 10.15.7
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 14.15.1 - /usr/local/bin/node
Yarn: 1.22.10 - /usr/local/bin/yarn
npm: 7.8.0 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.10.1 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 14.4, DriverKit 20.2, macOS 11.1, tvOS 14.3, watchOS 7.2
IDEs:
Android Studio: 4.1 AI-201.8743.12.41.6858069
Xcode: 12.4/12D4e - /usr/bin/xcodebuild
npmPackages:
expo: ^42.0.0 => 42.0.0
react: 16.13.1 => 16.13.1
react-dom: 16.13.1 => 16.13.1
react-native: https://github.com/expo/react-native/archive/sdk-42.0.0.tar.gz => 0.63.2
react-native-web: ~0.13.12 => 0.13.18
npmGlobalPackages:
expo-cli: 4.11.0
Expo Workflow: managed
Please specify your device/emulator/simulator platform, model and version
iOS 14
Error output
Cannot find module '/Users/hb/Desktop/EjectEventShare/1EventShare-dev-client-bottom-tab/node_modules/sentry-expo/app.plugin.js'expo-config(MODULE_NOT_FOUND)
Reproducible demo or steps to reproduce from a blank project
follow the steps to install sentry from the expo documentation
The same issue to me. Poor me!
I am also getting the same issue with expo-notifications.
I think it has something to do with es6 importing or babel maybe?
Same here!
Same here!
I fixed this issue rolling back the vscode extension. Seems there's an error in the checking of the config plugin file location in the newest revision.
Yeah, the latest version doesn't see neither packages nor file paths:
I just downgraded my version for now.
I'd love to pick your brain on native modules for Expo if you're open to being paid for your time let me know. Tweet me @mercpls.
guys I down graded to the previous version and it works, just down grade for now until they release a fix.
As mentioned in #71
๐ This PR is included in version 0.7.4 ๐
The release is available on GitHub release
Your semantic-release bot ๐ฆ๐
If there is anything else, please let us know! ๐