Cannot find module 'node:os'
alukach opened this issue ยท 3 comments
alukach commented
๐ Bug Report
tslint-to-eslint-configversion: 2.12.2- ESLint version: 8.10.0
- Node version: 14.17.3
Actual Behavior
โค npx tslint-to-eslint-config
npx: installed 64 in 3.749s
Cannot find module 'node:os'
Require stack:
- /Users/alukach/.npm/_npx/251/lib/node_modules/tslint-to-eslint-config/src/cli/runCli.js
- /Users/alukach/.npm/_npx/251/lib/node_modules/tslint-to-eslint-config/src/cli/main.js
- /Users/alukach/.npm/_npx/251/lib/node_modules/tslint-to-eslint-config/bin/tslint-to-eslint-config
Expected Behavior
Conversion to work.
Reproduction
I'm assuming this is due to #1365
alukach commented
Running the following unblocked me:
npx tslint-to-eslint-config@2.11.0
JoshuaKGoldberg commented
Ah, TIL that node:os isn't supported in Node <16. Thanks for this @alukach! I'll release a patch version shortly that fixes this import.
JoshuaKGoldberg commented
The fix should be released in tslint-to-eslint-config@2.12.3 ๐ . Please let me know if not!