Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expo Tools Extension error : Cannot find module '/...' #64

Closed
haibert opened this issue Sep 12, 2021 · 11 comments
Closed

Expo Tools Extension error : Cannot find module '/...' #64

haibert opened this issue Sep 12, 2021 · 11 comments
Labels
bug Something isn't working

Comments

@haibert
Copy link

haibert commented Sep 12, 2021

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

@EvanBacon EvanBacon transferred this issue from expo/expo-cli Sep 14, 2021
@kylerjensen
Copy link

I'm experiencing the same issue, and it's driving me nuts:
image

Proof that the file does exist:
image

@tiendungtcu
Copy link

The same issue to me. Poor me!

@mercpls
Copy link

mercpls commented Oct 8, 2021

I am also getting the same issue with expo-notifications.

I think it has something to do with es6 importing or babel maybe?

@Ranta-cyber
Copy link

Same here!

@mercpls
Copy link

mercpls commented Oct 12, 2021

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.

@barthap
Copy link

barthap commented Oct 22, 2021

Yeah, the latest version doesn't see neither packages nor file paths:
Screenshot 2021-10-22 at 14 43 19

@mercpls
Copy link

mercpls commented Oct 22, 2021

Yeah, the latest version doesn't see neither packages nor file paths: Screenshot 2021-10-22 at 14 43 19

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.

@haibert
Copy link
Author

haibert commented Oct 22, 2021

guys I down graded to the previous version and it works, just down grade for now until they release a fix.

@barthap barthap added the bug Something isn't working label Oct 23, 2021
@josmithua
Copy link

duplicate of #61

@byCedric
Copy link
Member

Fixed by #71, hopefully we can release it this week!

@byCedric
Copy link
Member

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! 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

8 participants