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
Was this page helpful?