When you install from scratch in a clean repo, you get 404 error with a @ampproject/toolbox-optimizer dependency:
npm install next react react-dom
npm WARN deprecated [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated [email protected]: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@ampproject%2ftoolbox-optimizer - Not found
npm ERR! 404
npm ERR! 404 '@ampproject/[email protected]' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'next'
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/lovebeam/.npm/_logs/2020-08-06T09_14_31_325Z-debug.log
➜ gramotool git:(master) ✗ npm install [email protected] react react-dom
npm WARN deprecated [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated [email protected]: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@ampproject%2ftoolbox-optimizer - Not found
npm ERR! 404
npm ERR! 404 '@ampproject/[email protected]' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'next'
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
Steps to reproduce the behavior, please provide code snippets or a repository:
npm init.npm install next react react-dom as it said in Nextjs docs.npm is having trouble, you can follow their status page.
npm is having trouble, you can follow their status page.
Spent at least one hour trying to figure out why i could not install it. :(
+1
Our fix seems to be working and package installation issues should be resolved now. We continue to monitor the service closely and apologize for the inconvenience.
the issue is resolved
Most helpful comment
npm is having trouble, you can follow their status page.