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
First off just wanted to say that I love this package. It's so simple and straightforward. Thank you to everyone who has worked on it 馃檹
I am attempting to migrate my current TypeScript/CJS project to TypeScript/ESM and I'm having some issues with this package. I am getting this error:
ts-node-esm ./node_modules/.bin/node-pg-migrate -j ts up
/Users/kylerush/projects/backend/node_modules/ts-node/dist-raw/node-internal-modules-esm-get_format.js:93
throw new ERR_UNKNOWN_FILE_EXTENSION(ext, fileURLToPath(url));
^
CustomError: ERR_UNKNOWN_FILE_EXTENSION /Users/kylerush/projects/backend/node_modules/node-pg-migrate/bin/node-pg-migrate
at defaultGetFormat (/Users/kylerush/projects/backend/node_modules/ts-node/dist-raw/node-internal-modules-esm-get_format.js:93:15)
at defer (/Users/kylerush/projects/backend/node_modules/ts-node/src/esm.ts:296:7)
at entrypointFallback (/Users/kylerush/projects/backend/node_modules/ts-node/src/esm.ts:304:22)
at getFormat (/Users/kylerush/projects/backend/node_modules/ts-node/src/esm.ts:338:26)
at /Users/kylerush/projects/backend/node_modules/ts-node/src/esm.ts:245:17
at addShortCircuitFlag (/Users/kylerush/projects/backend/node_modules/ts-node/src/esm.ts:409:21)
at load (/Users/kylerush/projects/backend/node_modules/ts-node/src/esm.ts:239:12)
at load (/Users/kylerush/projects/backend/node_modules/ts-node/src/child/child-loader.ts:18:36)
at nextLoad (node:internal/modules/esm/loader:163:28)
at ESMLoader.load (node:internal/modules/esm/loader:602:26)
First off just wanted to say that I love this package. It's so simple and straightforward. Thank you to everyone who has worked on it 馃檹
I am attempting to migrate my current TypeScript/CJS project to TypeScript/ESM and I'm having some issues with this package. I am getting this error:
I have this in my package.json:
Any idea on something I can do on my end to get the migration to run?
The text was updated successfully, but these errors were encountered: