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

source-map environment detection bug #19

Closed
darasus opened this issue Aug 19, 2022 · 0 comments · Fixed by #24
Closed

source-map environment detection bug #19

darasus opened this issue Aug 19, 2022 · 0 comments · Fixed by #24

Comments

@darasus
Copy link

darasus commented Aug 19, 2022

source-map version 0.7.3 has buggy environment detection that causes this error:

Error: You must provide the URL of lib/mappings.wasm by calling SourceMapConsumer.initialize({ 'lib/mappings.wasm': ... }) before using SourceMapConsumer
start:packager     >     at readWasm (.../node_modules/react-native-esbuild/node_modules/source-map/lib/read-wasm.js:8:13)
start:packager     >     at wasm (.../node_modules/react-native-esbuild/node_modules/source-map/lib/wasm.js:25:16)
start:packager     >     at /Users/.../node_modules/react-native-esbuild/node_modules/source-map/lib/source-map-consumer.js:264:14
start:packager     >     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

The fix would be to bump version to 0.7.4 see original issue

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

Successfully merging a pull request may close this issue.

1 participant