Pm2: Broken dependency @pm2/agent@~1.0.2

Created on 6 Aug 2020  路  13Comments  路  Source: Unitech/pm2

When running yarn global pm2 it produces the following error

error Couldn't find package "@pm2/agent@~1.0.2" required by "pm2" on the "npm" registry.

Most helpful comment

Checked previous versions, only 2.10.4 still installs.
Could be fast workaround for someone:
npm install [email protected] -g

All 13 comments

Same here is my Error logs. 馃槬

error Couldn't find package "@pm2/agent@~1.0.2" required by "pm2" on the "npm" registry.
info Visit https://yarnpkg.com/en/docs/cli/global for documentation about this command.
Error: Couldn't find package "@pm2/js-api@~0.6.0" required by "pm2" on the "npm" registry.
at MessageError.ExtendableBuiltin (/opt/yarn-v1.13.0/lib/cli.js:727:66)
at new MessageError (/opt/yarn-v1.13.0/lib/cli.js:756:123)
at PackageRequest. (/opt/yarn-v1.13.0/lib/cli.js:35729:17)
at Generator.throw ()
at step (/opt/yarn-v1.13.0/lib/cli.js:304:30)
at /opt/yarn-v1.13.0/lib/cli.js:317:13
at process._tickCallback (internal/process/next_tick.js:68:7)
Error: Couldn't find package "@pm2/io@~4.3.5" required by "pm2" on the "npm" registry.
at MessageError.ExtendableBuiltin (/opt/yarn-v1.13.0/lib/cli.js:727:66)
at new MessageError (/opt/yarn-v1.13.0/lib/cli.js:756:123)
at PackageRequest. (/opt/yarn-v1.13.0/lib/cli.js:35729:17)
at Generator.throw ()
at step (/opt/yarn-v1.13.0/lib/cli.js:304:30)
at /opt/yarn-v1.13.0/lib/cli.js:317:13
at process._tickCallback (internal/process/next_tick.js:68:7)
Error: Couldn't find package "@pm2/pm2-version-check@latest" required by "pm2" on the "npm" registry.
at MessageError.ExtendableBuiltin (/opt/yarn-v1.13.0/lib/cli.js:727:66)
at new MessageError (/opt/yarn-v1.13.0/lib/cli.js:756:123)
at PackageRequest. (/opt/yarn-v1.13.0/lib/cli.js:35729:17)
at Generator.throw ()
at step (/opt/yarn-v1.13.0/lib/cli.js:304:30)
at /opt/yarn-v1.13.0/lib/cli.js:317:13
at process._tickCallback (internal/process/next_tick.js:68:7)

Same issue

npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@pm2%2fagent - Not found
npm ERR! 404 
npm ERR! 404  '@pm2/agent@~1.0.2' 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 'pm2'
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!     /home/utkarsh/.npm/_logs/2020-08-06T09_35_10_266Z-debug.log

Same issue

Yep! Broken dependency...

Same issue, the dependency is totally broken..

npm install -g pm2

npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@pm2%2fagent - Not found
npm ERR! 404
npm ERR! 404  '@pm2/agent@~1.0.2' 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 'pm2'
npm ERR! 404 
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

Checked previous versions, only 2.10.4 still installs.
Could be fast workaround for someone:
npm install [email protected] -g

same issue

npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@pm2%2fagent - Not found
npm ERR! 404 
npm ERR! 404  '@pm2/agent@~1.0.2' 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 'pm2'
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!     /root/.npm/_logs/2020-08-06T09_57_40_757Z-debug.log

Copy from https://status.npmjs.org/
It seems it is not issue from PM2 but it is a issue from npm website

Update - The issue with the npm website was resolved. We are still looking into error telemetry for installation of scoped packages but are seeing signs of improvement.
Aug 6, 09:33 UTC

Same:

root@6e0c161fbb4b:/wwnow-api# npm i @pm2/[email protected]
npm ERR! code E404
npm ERR! 404 Not Found - GET https://npm-registry.westwing.eu/repository/npm/@pm2%2fpm2-version-check - Not found
npm ERR! 404
npm ERR! 404  '@pm2/[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
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!     /root/.npm/_logs/2020-08-06T10_02_31_242Z-debug.log

Same here

It seems ok now. Please try again!!
+ [email protected] added 99 packages from 73 contributors, removed 131 packages, updated 30 packages and moved 1 package in 4.865s

closing at it was related to npm

Was this page helpful?
0 / 5 - 0 ratings

Related issues

chaos-git picture chaos-git  路  3Comments

rangercyh picture rangercyh  路  4Comments

ghost picture ghost  路  3Comments

morfies picture morfies  路  3Comments

ldarren picture ldarren  路  3Comments