-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Labels
Description
Describe the bug
For all sourcemaps tests, I get the following error:
1) sourcemaps
attached-sourcemap:
Error: You must provide the URL of lib/mappings.wasm by calling SourceMapConsumer.initialize({ 'lib/mappings.wasm': ... }) before using SourceMapConsumer
at readWasm (node_modules\source-map\lib\read-wasm.js:8:13)
at wasm (node_modules\source-map\lib\wasm.js:25:16)
at C:\Users\MiikaTuominen\code\svelte\node_modules\source-map\lib\source-map-consumer.js:264:14
at Context.<anonymous> (test\sourcemaps.solo\index.ts:106:51)
Reproduction
git clone https://github.com/sveltejs/svelte.git
cd svelte
npm i
mv test/sourcemaps test/sourcemaps.solo
npm run test
Logs
npx mocha --exit
(node:6964) ExperimentalWarning: The Fetch API is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
sourcemaps
1) attached-sourcemap
2) basic
3) binding
- binding-shorthand.skip
4) compile-option-dev
5) css
6) decoded-sourcemap
7) each-block
8) external
9) markup
√ no-sourcemap
10) only-css-sourcemap
11) only-js-sourcemap
12) preprocessed-markup
13) preprocessed-multiple
14) preprocessed-no-map
15) preprocessed-script
16) preprocessed-styles
17) script
18) script-after-comment
19) source-map-generator
20) sourcemap-basename
21) sourcemap-basename-without-outputname
22) sourcemap-concat
23) sourcemap-names
24) sourcemap-offsets
25) sourcemap-sources
26) static-no-script
27) two-scripts
28) typescript
1 passing (865ms)
1 pending
28 failing
1) sourcemaps
attached-sourcemap:
Error: You must provide the URL of lib/mappings.wasm by calling SourceMapConsumer.initialize({ 'lib/mappings.wasm': ... }) before using SourceMapConsumer
at readWasm (node_modules\source-map\lib\read-wasm.js:8:13)
at wasm (node_modules\source-map\lib\wasm.js:25:16)
at C:\Users\MiikaTuominen\Downloads\s\svelte\node_modules\source-map\lib\source-map-consumer.js:264:14
at Context.<anonymous> (test\sourcemaps.solo\index.ts:106:51)
...
28) sourcemaps
typescript:
Error: You must provide the URL of lib/mappings.wasm by calling SourceMapConsumer.initialize({ 'lib/mappings.wasm': ... }) before using SourceMapConsumer
at readWasm (node_modules\source-map\lib\read-wasm.js:8:13)
at wasm (node_modules\source-map\lib\wasm.js:25:16)
at C:\Users\MiikaTuominen\Downloads\s\svelte\node_modules\source-map\lib\source-map-consumer.js:264:14
at Context.<anonymous> (test\sourcemaps.solo\index.ts:106:51)```System Info
Binaries:
Node: 18.0.0 - C:\Program Files\nodejs\node.EXE
npm: 8.15.0 - C:\Program Files\nodejs\npm.CMD
npmPackages:
rollup: ^1.27.14 => 1.27.14Severity
annoyance