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 vercel fails when npm cannot find @vercel/hydrogen

See original GitHub issue
$ npm install --global vercel
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@vercel%2fhydrogen - Not found
npm ERR! 404
npm ERR! 404  '@vercel/hydrogen@0.0.2' is not in this registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
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/rob/.npm/_logs/2022-07-08T01_08_44_972Z-debug-0.log

It looks like @vercel/hydrogen was added as a dependency recently, and isn’t currently published on npm, leading installs to fail. Fixes might include publishing that package to npm or removing the dependency.

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:6
  • Comments:11 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
TooTallNatecommented, Jul 8, 2022

Very sorry about that folks. It’s fixed now.

4reactions
jasonaravaniscommented, Jul 8, 2022

Can confirm I am also encountering the same issue

Downgraded to vercel@25.2.3 and appears to be working again

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix Next.js Vercel deployment module not found error
I think it may be an internal issue with Vercel's deployment infrastructure. Notice the line it is failing on: Error: Cannot find module...
Read more >
Error installing vercel for the first time #8103 - GitHub
It's my first time installing vercel and I'm having trouble getting it working. I ran npm i -g vercel and got the following...
Read more >
How do I resolve a 'module not found' error? - Vercel
The 'module not found' error is a syntax error that appears when the static import statement cannot find the file at the declared...
Read more >
vercel - npm
Start using vercel in your project by running `npm i vercel`. ... To install the latest version of Vercel CLI, run this command:....
Read more >
Deploy a Hydrogen storefront - Shopify.dev
To learn how to deploy your Hydrogen storefront to Vercel Edge Functions, refer to the Vercel Hydrogen template documentation. Deploy to Node.js. Anchor...
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