Pages Build Failing due to 404 package not found

I'm getting a new error in my next-on-pages project during the build phase, I went back to a previously successful build and re-deployed it and it is also failing as well. Error:
21:39:06.154 npm ERR! code E404
21:39:06.155 npm ERR! 404 Not Found - GET https://registry.npmjs.org/@vercel/next/-/next-3.8.6.tgz - Not found
21:39:06.156 npm ERR! 404
21:39:06.156 npm ERR! 404 '@vercel/next@https://registry.npmjs.org/@vercel/next/-/next-3.8.6.tgz' is not in this registry.
21:39:06.156 npm ERR! 404
21:39:06.156 npm ERR! 404 Note that you can also install from a
21:39:06.156 npm ERR! 404 tarball, folder, http url, or git url.
21:39:06.158
21:39:06.158 npm ERR! A complete log of this run can be found in:
21:39:06.158 npm ERR! /opt/buildhome/.npm/_logs/2023-07-14T20_38_03_353Z-debug-0.log
21:39:06.197 Error during NPM install
21:39:06.202 Failed: build command exited with code: 1
21:39:07.008 Failed: error occurred while running build command
21:39:06.154 npm ERR! code E404
21:39:06.155 npm ERR! 404 Not Found - GET https://registry.npmjs.org/@vercel/next/-/next-3.8.6.tgz - Not found
21:39:06.156 npm ERR! 404
21:39:06.156 npm ERR! 404 '@vercel/next@https://registry.npmjs.org/@vercel/next/-/next-3.8.6.tgz' is not in this registry.
21:39:06.156 npm ERR! 404
21:39:06.156 npm ERR! 404 Note that you can also install from a
21:39:06.156 npm ERR! 404 tarball, folder, http url, or git url.
21:39:06.158
21:39:06.158 npm ERR! A complete log of this run can be found in:
21:39:06.158 npm ERR! /opt/buildhome/.npm/_logs/2023-07-14T20_38_03_353Z-debug-0.log
21:39:06.197 Error during NPM install
21:39:06.202 Failed: build command exited with code: 1
21:39:07.008 Failed: error occurred while running build command
5 Replies
Epailes
Epailes12mo ago
I can see the package here on npm: https://www.npmjs.com/package/@vercel/next/v/3.8.6 Is this an issue with pages npm caching? Not sure if there's anything I can do on my end here
npm
@vercel/next
Latest version: 3.8.8, last published: 16 days ago. Start using @vercel/next in your project by running npm i @vercel/next. There are 6 other projects in the npm registry using @vercel/next.
Walshy
Walshy12mo ago
https://registry.npmjs.org/@vercel/next/-/next-3.8.6.tgz we can't cache npm i can confirm it 404s
Epailes
Epailes12mo ago
Peculiour, re-ran the build and now I'm getting: npm ERR! 404 Not Found - GET https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-1.0.0.tgz - Not found Wonder if there's something going on with npm then at the moment?
Epailes
Epailes12mo ago
I'd checked npm status just before posting this! Thanks for linking it, I'll stop banging my head against the wall trying to figure out how I'd broken it and wait for them to sort it
Want results from more Discord servers?
Add your server
More Posts