question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

NPM 7 installs very old version

See original GitHub issue

This 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:closed
  • Created 3 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
scottbertcommented, Mar 8, 2021

OK thanks. Is an old project, will remove eslint-config-import and see what breaks 😃

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found