NPM 7 installs very old version
See original GitHub issueThis might be related to the #1986 issue so if it is apologies for the noise.
Running npm i --save-dev eslint-plugin-import eslint-config-import
in an empty project brings in a super old version of the plugin that seems pinned to the eslint-config-import
version (0.13.0). In turn this is causing me problems when using eslint-import-resolver-alias
which expects eslint-plugin-import@">=1.4.0
But all is fine if I force the npm install.
$ node -v
v15.11.0
$ npm -v
7.6.0
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Using npm To Install A Specific Version Of A Node.js Package
Use npm install [package-name]@[version-number] to install an older version of a package. Prefix a version number with a caret (^) or a tilde ......
Read more >NPM 7 installs very old version · Issue #2000 · import-js/eslint ...
Running npm i --save-dev eslint-plugin-import eslint-config-import in an empty project brings in a super old version of the plugin that ...
Read more >npm 7 is now generally available! - The GitHub Blog
Automatically installing peer dependencies is an exciting new feature introduced in npm 7. In previous versions of npm (4-6), peer dependencies ...
Read more >How to install older version of node.js on Windows?
Go here and find the version you want to install and then download the correct msi file and run the installer. You cannot...
Read more >Tip: Click on a version number to view a previous ... - npm
Latest version: 9.2.0, last published: 21 days ago. Start using npm in your project by running `npm i npm`. There are 5234 other...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
OK thanks. Is an old project, will remove
eslint-config-import
and see what breaks 😃For posterity, here’s https://github.com/benmosher/eslint-plugin-import/tree/v0.13.0/config, and it was removed in https://github.com/benmosher/eslint-plugin-import/commit/369c9ddb6036b7e4f139ed88107a53ecd50bc489#diff-b79606fb3afea5bd1609ed40b622142f1c98125abcfe89a76a661b0e8e343910 before this plugin reached v1.