Closed nzakas closed 19 minutes ago
espree
eslint-scope
eslint-visitor-keys
Node version: 20.13.1 npm version: 10.4.0 ESLint version: 9.4.0 Operating System: Windows
Cloned the repository and ran npm install
npm install
For the monorepo to install successfully.
I received this error message:
npm ERR! > eslint-visitor-keys@4.0.0 build:types npm ERR! > tsc npm ERR! npm ERR! ../../node_modules/@types/node/stream/web.d.ts(469,56): error TS1005: '?' expected. npm ERR! tsconfig.json(3,13): error TS6046: Argument for '--lib' option must be: 'es5', 'es6', 'es2015', 'es7', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'esnext', 'dom', 'dom.iterable', 'webworker', 'webworker.importscripts', 'webworker.iterable', 'scripthost', 'es2015.core', 'es2015.collection', 'es2015.generator', 'es2015.iterable', 'es2015.promise', 'es2015.proxy', 'es2015.reflect', 'es2015.symbol', 'es2015.symbol.wellknown', 'es2016.array.include', 'es2017.object', 'es2017.sharedmemory', 'es2017.string', 'es2017.intl', 'es2017.typedarrays', 'es2018.asyncgenerator', 'es2018.asynciterable', 'es2018.intl', 'es2018.promise', 'es2018.regexp', 'es2019.array', 'es2019.object', 'es2019.string', 'es2019.symbol', 'es2020.bigint', 'es2020.promise', 'es2020.sharedmemory', 'es2020.string', 'es2020.symbol.wellknown', 'es2020.intl', 'es2021.promise', 'es2021.string', 'es2021.weakref', 'es2021.intl', 'esnext.array', 'esnext.symbol', 'esnext.asynciterable', 'esnext.intl', 'esnext.bigint', 'esnext.string', 'esnext.promise', 'esnext.weakref'.
https://github.com/eslint/js
No response
Figured it out. Lots of dependencies are out of date and clashing with dependencies in other packages.
Fixed by https://github.com/eslint/js/pull/631.
It also fixed CI in eslint/eslint.
Which packages are affected?
espree
eslint-scope
eslint-visitor-keys
Environment
Node version: 20.13.1 npm version: 10.4.0 ESLint version: 9.4.0 Operating System: Windows
What did you do?
Cloned the repository and ran
npm install
What did you expect to happen?
For the monorepo to install successfully.
What actually happened?
I received this error message:
Link to Minimal Reproducible Example
https://github.com/eslint/js
Participation
Additional comments
No response