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

Error while reading source maps #2673

Open
justinfagnani opened this issue Mar 16, 2024 · 0 comments
Open

Error while reading source maps #2673

justinfagnani opened this issue Mar 16, 2024 · 0 comments

Comments

@justinfagnani
Copy link
Contributor

justinfagnani commented Mar 16, 2024

I'm getting this error in one project with @web/[email protected] (depending on [email protected]).

I'm not getting it in another project with the same versions. (edit: I am) Opening this issue in case someone here has seen it. I'll try to reduce and close this if it's not related to WTR.

Error while reading source maps for /Users/justin/Projects/Web/stampino-element/node_modules/@lit/reactive-element/development/reactive-element.js
Error: You must provide the URL of lib/mappings.wasm by calling SourceMapConsumer.initialize({ 'lib/mappings.wasm': ... }) before using SourceMapConsumer
    at readWasm (/Users/justin/Projects/Web/stampino-element/node_modules/source-map/lib/read-wasm.js:8:13)
    at wasm (/Users/justin/Projects/Web/stampino-element/node_modules/source-map/lib/wasm.js:25:16)
    at /Users/justin/Projects/Web/stampino-element/node_modules/source-map/lib/source-map-consumer.js:264:14
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /Users/justin/Projects/Web/stampino-element/node_modules/@web/test-runner-core/dist/server/plugins/api/createSourceMapFunction.js:61:30
    at async mapStackLocation (/Users/justin/Projects/Web/stampino-element/node_modules/@web/test-runner-core/dist/server/plugins/api/parseBrowserResult.js:8:27)
    at async formatLocation (/Users/justin/Projects/Web/stampino-element/node_modules/@web/browser-logs/dist/parseStackTrace.js:69:26)
    at async parseStackTrace (/Users/justin/Projects/Web/stampino-element/node_modules/@web/browser-logs/dist/parseStackTrace.js:111:23)
    at async replaceErrorStack (/Users/justin/Projects/Web/stampino-element/node_modules/@web/test-runner-core/dist/server/plugins/api/parseBrowserErrors.js:8:23)
    at async /Users/justin/Projects/Web/stampino-element/node_modules/@web/test-runner-core/dist/server/plugins/api/parseBrowserErrors.js:39:17
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

No branches or pull requests

1 participant