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 @discordjs/ws --- npm ERR! 404 Not Found

See original GitHub issue

Which package is this bug report for?

ws

Issue description

  1. Install discordjs/ws via npm install @discordjs/ws (as outlined by docs)

Code sample

npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@discordjs%2fws - Not found
npm ERR! 404 
npm ERR! 404  '@discordjs/ws@*' is not in this registry.
npm ERR! 404 
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/[me]/.npm/_logs/2022-08-25T06_38_31_908Z-debug-0.log


### Package version

14

### Node.js version

18.6.0

### Operating system

_No response_

### Priority this issue should have

Low (slightly annoying)

### Which partials do you have configured?

Not applicable (subpackage bug)

### Which gateway intents are you subscribing to?

Not applicable (subpackage bug)

### I have tested this issue on a development release

_No response_

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
adam-acommented, Aug 25, 2022

This log looks like you are trying to install @types/discordjs, which does not exist. discord.js ships with typings; You do not need to install them separately.

thanks! That was it – I added those for some reason and it was causing this issue. Removed and re-ran install and it worked.

0reactions
SpaceEECcommented, Aug 25, 2022

This log looks like you are trying to install @types/discordjs, which does not exist. discord.js ships with typings; You do not need to install them separately.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installing npm package fails with 404 - node.js - Stack Overflow
It is an network error , check your network connection and try to install it again.
Read more >
Surviving the npm ERR! 404 with private packages
How to fix a common issue when installing private packages with npm · install latest npm version · login (if you are downloading...
Read more >
Issues - GitHub
404 Not Found - GET https://registry.npmjs.org/error-ex npm ERR! 404 npm ERR! ... 404 Note that you can also install from a npm ERR!...
Read more >
(Solved) npm ERR! code E404 while working with Power ...
ERROR While working with command npm install you might be facing the 404 issues as given in below screenshot. Solution inside your PCF ......
Read more >
Getting NPM Error 404 for every package i try to install. - Reddit
For example, trying the install Google's @angular/cli : npm install @angular/cli -g npm ERR! code E404 npm ERR! 404 Not Found - GET…...
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