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 install errors with '@types/eslint@*'

See original GitHub issue

Bug report

What is the current behavior? npm install errors out on ‘@types/eslint@*’

Not Found - GET https://registry.npmjs.org/@types/eslint/-/eslint-8.4.4.tgz npm ERR! 404 npm ERR! 404 ‘@types/eslint@*’ is not in the npm registry. npm ERR! 404 You should bug the author to publish it (or use the name yourself!) npm ERR! 404 It was specified as a dependency of ‘@types/eslint-scope

If the current behavior is a bug, please provide the steps to reproduce. npm install webpack

What is the expected behavior? should not error on eslint, but should successfully install

Other relevant information: webpack version:
Node.js version: Operating System: Additional tools:

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:13
  • Comments:11 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
alfeugdscommented, Jun 30, 2022

“dependencies”: { “@types/eslint”: “8.4.3”, }, “resolutions”: { “@types/eslint”: “8.4.3” }, “overrides”: { “@types/eslint”: “8.4.3” },

Thanks! It worked. You might want to add it to devDependencies instead, which also works:

"devDdependencies": {
  "@types/eslint": "8.4.3",
},
"resolutions": {
  "@types/eslint": "8.4.3"
},
"overrides": {
  "@types/eslint": "8.4.3"
},
2reactions
nitobacommented, Jun 30, 2022

The same error here. My solution was install the version 4

Read more comments on GitHub >

github_iconTop Results From Across the Web

@types/eslint - npm
npm install --save @types/eslint. Summary. This package contains type definitions for eslint (https://eslint.org). Details.
Read more >
NPM Install is failing with package not found for es-lint@8.4.4
I have searched the existing issues Current behavior Running npm i -g @nestjs/cli, I get the following error: npm i -g @nestjs/cli@8.2.7 npm...
Read more >
How should I resolve this error that occurs when using ng new?
A workaround for now is to run ng new app --skip-install , then add "@types/eslint": "8.4.3" to your package.json and do npm install...
Read more >
How to troubleshoot NPM problems - JFrog
How to troubleshoot NPM problems · Using curl · NPM Login · NPM Install (Non-scoped) · NPM install (Scoped Packages) · NPM Publish...
Read more >
Build Fails on every project, even new ones - Stencil
Hello, today it seems that i broke something. When running npm run build it gives an error not by my code [ ERROR...
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