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 accessing source map from npm package #16

Open
aeschli opened this issue Oct 27, 2023 · 0 comments
Open

Error accessing source map from npm package #16

aeschli opened this issue Oct 27, 2023 · 0 comments

Comments

@aeschli
Copy link

aeschli commented Oct 27, 2023

When running vscode web (serverless) I get the following warning about a source map not found:
GET /static/build/node_modules/@vscode/vscode-languagedetection/dist/lib/index.js.map 404 0.946 ms - 9

Either add the map file to the npm package, or, better, disable source maps when building for production to avoid the reference

To reproduce:

  • git clone https://github.com/microsoft/vscode-test-web.git
  • npm i && npm run sample, open dev tools network tab, in VS code web open some files
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