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.
Seeing this error when I try to build an application with webpack that has
get-caller-file
as an npm dependency:Your sourcemap file is referencing
index.ts
as a source, but that file isn't present in the downloaded package.