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
source-map
version 0.7.3 has buggy environment detection that causes this error:The fix would be to bump version to
0.7.4
see original issue