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

[v4] | [v2] Android build fail #1439

Closed
SohelIslamImran opened this issue Jul 13, 2023 · 1 comment
Closed

[v4] | [v2] Android build fail #1439

SohelIslamImran opened this issue Jul 13, 2023 · 1 comment
Labels

Comments

@SohelIslamImran
Copy link

Bug

When I start the project with yarn expo start, this throw the error

Android Bundling failed 2279ms
error: node_modules/@gorhom/bottom-sheet/src/hooks/useBottomSheetDynamicSnapPoints.ts: node_modules/@gorhom/bottom-sheet/src/hooks/useBottomSheetDynamicSnapPoints.ts: Cannot find module '@babel/plugin-proposal-optional-chaining'
Require stack:
- node_modules/@babel/core/lib/config/files/plugins.js
- node_modules/@babel/core/lib/config/files/index.js
- node_modules/@babel/core/lib/index.js
- node_modules/metro-react-native-babel-transformer/src/index.js
- node_modules/metro-transform-worker/src/index.js
- node_modules/metro/src/DeltaBundler/Worker.flow.js
- node_modules/metro/src/DeltaBundler/Worker.js
- node_modules/jest-worker/build/workers/processChild.js
- Did you mean "@babel/plugin-transform-optional-chaining"?

Make sure that all the Babel plugins and presets you are using
are defined as dependencies or devDependencies in your package.json
file. It's possible that the missing plugin is loaded by a preset
you are using that forgot to add the plugin to its dependencies: you
can workaround this problem by explicitly adding the missing package
to your top-level package.json.

Environment info

Library Version
"@gorhom/bottom-sheet": "^4.4.7",
"react-native": "0.72.3",
"react-native-reanimated": "~3.3.0",
"react-native-gesture-handler": "~2.12.0",
@SohelIslamImran SohelIslamImran added the bug Something isn't working label Jul 13, 2023
@github-actions
Copy link

@SohelIslamImran: hello! 👋

This issue is being automatically closed because it does not follow the issue template.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant