mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
Print unmapped source lines when the source map source is not found. Error stacks should be correctly mapped even when the source is absent. PR-URL: https://github.com/nodejs/node/pull/44052 Refs: https://github.com/nodejs/node/pull/44019 Reviewed-By: Ben Coe <bencoe@gmail.com>
18 lines
638 B
Plaintext
18 lines
638 B
Plaintext
*no-source.js:2
|
|
throw new Error('foo');
|
|
^
|
|
|
|
Error: foo
|
|
at Throw (*file-not-exists.ts:2:9)
|
|
at Object.<anonymous> (*file-not-exists.ts:5:1)
|
|
at Module._compile (node:internal/modules/cjs/loader:*)
|
|
at Module._extensions..js (node:internal/modules/cjs/loader:*)
|
|
at Module.load (node:internal/modules/cjs/loader:*)
|
|
at Module._load (node:internal/modules/cjs/loader:*)
|
|
at Module.require (node:internal/modules/cjs/loader:*)
|
|
at require (node:internal/modules/cjs/helpers:*)
|
|
at Object.<anonymous> (*source_map_no_source_file.js:6:1)
|
|
at Module._compile (node:internal/modules/cjs/loader:*)
|
|
|
|
Node.js *
|