You must provide the URL of lib/mappings.wasm by calling SourceMapConsumer.initialize ERROR #98123 WEBPACK
ERROR #98123 WEBPACK
Generating development JavaScript bundle failed
You must provide the URL of lib/mappings.wasm by calling SourceMapConsumer.initialize({ 'lib/mappings.wasm': ... })
before using SourceMapConsumer
File: .cache\app.js
Solution
Add
--no-experimental-fetch
like such
You can try to add it in package.json but this may fail sometimes if your command expect optional arguments. The full proof way is to add it to .env in the directory as package.json to add it as an environment variable like above.
use this code :- set NODE_OPTIONS=--openssl-legacy-provider --no-experimental-fetch