question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Expo bare workflow plugins proglem

See original GitHub issue

When I add the plugin as described here: https://github.com/rnmapbox/maps/blob/HEAD/plugin/install.md

I get this error from the console:

Cannot find module './plugin/build/withMapbox'
Require stack:
- /Users/example/Desktop/lolo/example-app/node_modules/@rnmapbox/maps/app.plugin.js
- /Users/example/.vscode/extensions/bycedric.vscode-expo-0.7.4/out/src/extension.js
- /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/loader.js
- /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-amd.js
- /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-fork.jsexpo-config(MODULE_NOT_FOUND)

My plugins object:

  "plugins": [
      "@rnmapbox/maps",
      "expo-facebook",
      ["expo-location", { "isAndroidBackgroundLocationEnabled": false }]
    ]

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
mfazekascommented, Apr 2, 2022

@BerkayAkgurgen we seems to ship without the plugin built, you can try something like this to work around:

cd node_modules/@rnmapbox/maps/
yarn build:plugin

we’ll fix this by rebuilding the plugin

0reactions
ShaneZhengNZcommented, Oct 2, 2022

@mfazekas I still got the same issue.

In node_modules/@rnmapbox/maps/, I only have install.md file. No build folder at all.

I have tried to point “@rnmapbox/maps” to:

None of the above work.

Read more comments on GitHub >

github_iconTop Results From Across the Web

iOS bare workflow project is malformed #4508 - expo/expo-cli
I started a new clean Bare workflow project using expo-cli. After successful initialization, I run yarn ios .
Read more >
Config Plugins - Expo Documentation
Internally Expo CLI uses config plugins to generate and configure all the native code for a managed project. Plugins do things like generate...
Read more >
onesignal-expo-plugin - npm
The OneSignal Expo plugin allows you to use OneSignal without leaving the managed workflow. Developed in collaboration with SweetGreen.
Read more >
support for react-native-share | Voters - Expo - Canny
I have another question, I've built a development client, then installed react-native-share, tried to use it but not working. Do I have to...
Read more >
Why expo is showing Loading DevTools Error - Stack Overflow
You'll have to run: expo install expo-dev-client. Then, for Android: expo run:android. or for IOS: expo run:ios. Since config plugins will ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found