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
{{ message }}
Repository navigation
ESMLoader with Node/ts-node launched via VS Code #1741
When I try to run Node with ts-node via VS Code, I get the following error despite its having worked previously with the same configuration:
TypeError: Invalid module "file:///C:/Projects/CW-Port0/infra/azure/src/create-resources.ts"
at new NodeError (node:internal/errors:371:5)
at ESMLoader.load (node:internal/modules/esm/loader:380:13)
at ESMLoader.moduleProvider (node:internal/modules/esm/loader:280:47)
at link (node:internal/modules/esm/module_job:70:21)
create-resources.ts is the main file for the project.
Possibly related to #1636.
We request additional information in our bug report template that has been omitted here. I'll convert this to a discussion so the community can solicit the additional information.
Activity
cspotcode commentedon May 5, 2022
We request additional information in our bug report template that has been omitted here. I'll convert this to a discussion so the community can solicit the additional information.