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

Broken in Node.js v18 #28

Closed
stefansundin opened this issue Jul 11, 2023 · 2 comments
Closed

Broken in Node.js v18 #28

stefansundin opened this issue Jul 11, 2023 · 2 comments

Comments

@stefansundin
Copy link

Since this package is using source-map 0.7.3, it is suffering from mozilla/source-map#349.

$ unpack panel-js panel.js.map
/opt/homebrew/lib/node_modules/source-map-unpack/node_modules/source-map/lib/read-wasm.js:8
      throw new Error("You must provide the URL of lib/mappings.wasm by calling " +
            ^

Error: You must provide the URL of lib/mappings.wasm by calling SourceMapConsumer.initialize({ 'lib/mappings.wasm': ... }) before using SourceMapConsumer
    at readWasm (/opt/homebrew/lib/node_modules/source-map-unpack/node_modules/source-map/lib/read-wasm.js:8:13)
    at wasm (/opt/homebrew/lib/node_modules/source-map-unpack/node_modules/source-map/lib/wasm.js:25:16)
    at /opt/homebrew/lib/node_modules/source-map-unpack/node_modules/source-map/lib/source-map-consumer.js:264:14

Node.js v18.16.1

Installing Node.js v16.20.1 makes it work.

If source-map is upgraded to 0.7.4 then this problem will be fixed.

@alpisa
Copy link

alpisa commented Nov 29, 2023

Same issue, please update.

@pavloko
Copy link
Owner

pavloko commented Jul 29, 2024

This should be solved now

@pavloko pavloko closed this as completed Jul 29, 2024
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

3 participants