You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: HERE
at main (.../index.ts:1:188)
at <anonymous> (.../index.ts:9:1)
at ModuleJob.run (node:internal/modules/esm/module_job:217:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:316:24)
at async loadESM (node:internal/process/esm_loader:34:7)
at async handleMainPromise (node:internal/modules/run_main:66:12)
Expected behavior
With the import line commented out the stack trace is correct:
Error: HERE
at main (.../index.ts:6:9)
at <anonymous> (.../index.ts:11:1)
at ModuleJob.run (node:internal/modules/esm/module_job:217:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:316:24)
at async loadESM (node:internal/process/esm_loader:34:7)
at async handleMainPromise (node:internal/modules/run_main:66:12)
Minimal reproduction URL
See above.
Version
v4.2.0
Node.js version
v20.9.0
Package manager
npm
Operating system
macOS
Contributions
I plan to open a pull request for this issue
I plan to make a financial contribution to this project (sponsoring via @afilio-de)
The text was updated successfully, but these errors were encountered:
Precheck
Problem
This code reports a stack trace with broken line numbers:
The broken stack trace:
Expected behavior
With the
import
line commented out the stack trace is correct:Minimal reproduction URL
See above.
Version
v4.2.0
Node.js version
v20.9.0
Package manager
npm
Operating system
macOS
Contributions
The text was updated successfully, but these errors were encountered: