ESM alpha doesn't have proper extensions configured
JoshuaKGoldberg opened this issue ยท 1 comments
JoshuaKGoldberg commented
๐ Bug Report
tslint-to-eslint-config
version: 3.0.0-alpha.0- ESLint version: N/A
- Node version: 16.x
Actual Behavior
sh: 1: tslint-to-eslint-config: not found
Once that's fixed locally:
npx tslint-to-esilnt-config@3.0.0-alpha.0
node:internal/errors:464
ErrorCaptureStackTrace(err);
^
TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension "" for /home/josh/.npm/_npx/5d2fcd3d6a277bf7/node_modules/tslint-to-eslint-config/bin/tslint-to-eslint-config
at new NodeError (node:internal/errors:371:5)
at Object.file: (node:internal/modules/esm/get_format:72:15)
at defaultGetFormat (node:internal/modules/esm/get_format:85:38)
at defaultLoad (node:internal/modules/esm/load:13:42)
at ESMLoader.load (node:internal/modules/esm/loader:303:26)
at ESMLoader.moduleProvider (node:internal/modules/esm/loader:230:58)
at new ModuleJob (node:internal/modules/esm/module_job:63:26)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:244:11)
at async Promise.all (index 0)
at async ESMLoader.import (node:internal/modules/esm/loader:281:24) {
Expected Behavior
Run as normal.
Reproduction
npx tslint-to-esilnt-config@3.0.0-alpha.0
JoshuaKGoldberg commented
Going with #1398 instead. ๐คท