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.

Error 404 Not found: serve@latest

See original GitHub issue

I am trying to install serve globally and am getting an error. Here is the Trace found in the log: Trace: Error: https://registry.yarnpkg.com/serve: Not found at Request.params.callback [as _callback] (/usr/local/Cellar/yarn/1.7.0/libexec/lib/cli.js:65656:18) at Request.self.callback (/usr/local/Cellar/yarn/1.7.0/libexec/lib/cli.js:134675:22) at Request.emit (events.js:180:13) at Request.<anonymous> (/usr/local/Cellar/yarn/1.7.0/libexec/lib/cli.js:135658:10) at Request.emit (events.js:180:13) at IncomingMessage.<anonymous> (/usr/local/Cellar/yarn/1.7.0/libexec/lib/cli.js:135578:12) at Object.onceWrapper (events.js:272:13) at IncomingMessage.emit (events.js:185:15) at endReadableNT (_stream_readable.js:1106:12) at process._tickCallback (internal/process/next_tick.js:178:19)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:11 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
matheusscommented, Jun 2, 2018

Unfortunately I haven’t hard back from NPM: https://twitter.com/matheusfrndes/status/1002710142868078593

Closing this as the issue is “fixed” now – no more 404s. Thanks for the reports, everyone 🙌

2reactions
matheusscommented, Jun 2, 2018

Seems like an issue with NPM:

▲ ~ curl -I https://registry.npmjs.org/serve
HTTP/1.1 200 OK
...

It’s there, but npm install claims it can’t find it:

7 http fetch GET 404 https://registry.npmjs.org/serve 253ms

npm view can also find it:

▲ ~ npm view serve dist-tags
{ latest: '7.2.0' }
▲ ~

I’ll contact NPM and post updates here.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error 404 Not found: serve@latest · Issue #398 - GitHub
I am trying to install serve globally and am getting an error. Here is the Trace found in the log:
Read more >
404 Page Not Found Error: What It Is and How to Fix It - Lifewire
A 404 error is an HTTP status code that means that the page you were trying to reach on a website couldn't be...
Read more >
Error 404: 4 Ways to Fix It - Hostinger
Error 404 is a response code, meaning the server could not locate the requested content. Check this article to learn 4 steps to...
Read more >
What Does Error 404 Not Found Mean? - Semrush
A 404 error is when a website's server can't find the page you're trying to access via a hyperlink or typing a URL...
Read more >
What is Error 404 Not Found? How to Fix it? - MonoVM
The error 404 not found is the HTTP status code that you encounter when the browser is unable to locate the requested file....
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