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 parsing sourcemaps #24

Open
m4ttsch opened this issue Mar 23, 2023 · 0 comments
Open

Error parsing sourcemaps #24

m4ttsch opened this issue Mar 23, 2023 · 0 comments

Comments

@m4ttsch
Copy link

m4ttsch commented Mar 23, 2023

Seeing this error when I try to build an application with webpack that has get-caller-file as an npm dependency:

Module Warning (from ../../node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/home/me/app/node_modules/get-caller-file/index.ts' file: 
Error: ENOENT: no such file or directory, open '/home/me/app/node_modules/get-caller-file/index.ts'

Your sourcemap file is referencing index.ts as a source, but that file isn't present in the downloaded package.

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