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: You must provide the URL of lib/mappings.wasm by calling SourceMapConsumer.initialize #691

Closed
RA-Davies opened this issue Feb 27, 2024 · 1 comment

Comments

@RA-Davies
Copy link

[webpack-dev-server] 404s will fallback to '/index.html'
10% building 0/11 entries 16/26 dependencies 0/16 modulesC:\Software Development\open-graph-outlook-auth\Office-Add-in-samples\Samples\auth\Office-Add-in-Microsoft-Graph-React\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 (C:\Software Development\open-graph-outlook-auth\Office-Add-in-samples\Samples\auth\Office-Add-in-Microsoft-Graph-React\node_modules\source-map\lib\read-wasm.js:8:13)
at wasm (C:\Software Development\open-graph-outlook-auth\Office-Add-in-samples\Samples\auth\Office-Add-in-Microsoft-Graph-React\node_modules\source-map\lib\wasm.js:25:16)
at C:\Software Development\open-graph-outlook-auth\Office-Add-in-samples\Samples\auth\Office-Add-in-Microsoft-Graph-React\node_modules\source-map\lib\source-map-consumer.js:264:14

Node.js v20.9.0

Note: This template is only for reporting bugs about samples in this repo. If you have a product bug to report about Office web Add-ins, please submit the issue at https://github.com/OfficeDev/office-js/issues. This will help us respond to your issue faster.

(DELETE THIS PARAGRAPH AFTER READING)

URL of sample

URL linking to the sample that has the bug.

Describe the bug

A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

Environment

  • Platform [PC desktop, Mac, iOS, Office Online]: ______
  • Host [Excel, Word, PowerPoint, etc.]: ______
  • Office version number: ______
  • Operating System: ______
  • Browser (if using Office Online): ______

Additional context

Add any other context about the problem here.

@AlexJerabek
Copy link
Collaborator

AlexJerabek commented Feb 27, 2024

Hi @RA-Davies,

Could you please fill out the issue template? That will help us triage and understand where things are going wrong in the sample. I'll reopen the issue afterwards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants