-
Notifications
You must be signed in to change notification settings - Fork 112
Open
Description
Hi, in my package.json I have two scripts, my start script is working, but dev using node-dev isn't
{
"scripts": {
"dev": "node-dev --experimental-specifier-resolution=node --loader ts-node/esm/transpile-only src/index.ts",
"start": "node --experimental-specifier-resolution=node --loader ts-node/esm/transpile-only src/index.ts",
},
//...
}I'm trying to work with ESM, because I need top level await
This is the error:
[ERROR] 19:34:14 RangeError: Unknown module format: null for URL file:///path_to_project/src/index.ts
elderapo, zofiag, mgcrea, rogerpadilla, MonsJovis and 2 more
Metadata
Metadata
Assignees
Labels
No labels