If a JS file contains a source mapping to a non-existent file, the application will panic
$ npx appmap-agent-js -- node build
(node:17016) ExperimentalWarning: Custom ESM Loaders is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
[appmap@13.8.0] Detected an unknown error. If this error disapear when not recording your application, it is probably an issue within the appmap framework. If this is the case, please consider submitting a bug report at:
https://github.com/getappmap/appmap-agent-js/issues
node:fs:594
handleErrorFromBinding(ctx);
^
Error: ENOENT: no such file or directory, open '<workspace>\node_modules\@prisma\client\runtime\library.js.map'
at Object.openSync (node:fs:594:3)
at readFileSync (node:fs:462:35)
at file:///<workspace>/node_modules/@appland/appmap-agent-js/dist/bundles/recorder-process.mjs:542:12
at instrument (file:///<workspace>/node_modules/@appland/appmap-agent-js/dist/bundles/recorder-process.mjs:3642:24)
at Module._compile (file:///<workspace>/api/node_modules/@appland/appmap-agent-js/dist/bundles/recorder-process.mjs:3871:7)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
at Module.load (node:internal/modules/cjs/loader:1004:32)
at Function.Module._load (node:internal/modules/cjs/loader:839:12)
at Module.require (node:internal/modules/cjs/loader:1028:19)
at require (node:internal/modules/cjs/helpers:102:18
If a JS file contains a source mapping to a non-existent file, the application will panic