You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No errors when using Node 18 or higher. Bug in source-map dependency (fixed in latest version): mozilla/source-map#454
Actual behavior:
Getting the following:
[14:06:45] Error: You must provide the URL of lib/mappings.wasm by calling SourceMapConsumer.initialize({ 'lib/mappings.wasm': ... }) before using SourceMapConsumer
at readWasm (/workspaces/my-project/example/node_modules/source-map/lib/read-wasm.js:8:13)
at wasm (/workspaces/my-project/example/node_modules/source-map/lib/wasm.js:25:16)
at /workspaces/my-project/example/node_modules/source-map/lib/source-map-consumer.js:264:14
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Your gulpfile:
Include your gulpfile, or only the related task (with ts.createProject).
Expected behavior:
No errors when using Node 18 or higher. Bug in
source-map
dependency (fixed in latest version): mozilla/source-map#454Actual behavior:
Getting the following:
Your gulpfile:
Include your gulpfile, or only the related task (with
ts.createProject
).Workarounds
Set this environment variable:
export NODE_OPTIONS=--no-experimental-fetch
OR
Upgrade
source-map
forgulp-typescript
, here is the Yarn config (useoverrides
for NPM):Click for NPM config
The text was updated successfully, but these errors were encountered: