Skip to content

Software erosion 😭 Error: "provide the URL of lib/mappings.wasm..."  #832

@bartvanderwal

Description

@bartvanderwal

Ouch. Award winning lbrary, but software... erosion 😭.

It's 2024, ChatGPT suggested I use mdx-deck for a 'slides as code' presentation I want to embed later into a Docusaurus website.

Just like the user in issue #818 😄, I followed the getting started. I'm using node v23.1.0 with npm v10.9.0.
But I get below errors. I see someone got it working with node v16.14.2. It would be nice if the README.md specified a node version to get this working. Or include a Dockerfile to build?

I get this error:

 Error: You must provide the URL of lib/mappings.wasm by calling SourceMapConsumer.initialize({ 'lib/mapping
  s.wasm': ... }) before using SourceMapConsumer

And I also get warnings:

info Deleting .cache, public, /Users/bartvanderwal/Library/CloudStorage/OneDrive-HAN/CNP/PWA
C/workshop-integratie/node_modules/mdx-deck/node_modules/.cache/babel-loader,
/Users/bartvanderwal/Library/CloudStorage/OneDrive-HAN/CNP/PWAC/workshop-integratie/node_mod
ules/mdx-deck/node_modules/.cache/terser-webpack-plugin

 ERROR 

(node:45325) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a
 userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions