IBM Support

Offline installation of PM2 fails with the "An error occurred while installing pm2@3.2.2" error message

Troubleshooting


Problem

When you install PM2, which is used by Design Room ONE, in an environment without an Internet connection, the result is the error: 
An error occurred while installing pm2@3.2.2

Symptom

The complete error message appears as follows:
=============================================================================
PM2 is licensed under GNU AGPL v3.0 (https://github.com/Unitech/pm2/blob/master/GNU-AGPL-3.0.txt).
Do you want to install pm2? [Y|n]
Installing pm2 from downloaded/pm2.npmbox...
 __
Unboxing downloaded/pm2.npmbox...
 __
  Unpacking downloaded/pm2.npmbox...
 __
  Installing pm2@3.2.2...
 __
An error occurred while installing pm2@3.2.2.
 __
pm2@3.2.2 was not installed.
  Done.
 __
  _
{Error: getaddrinfo ENOTFOUND registry.npmjs.org registry.npmjs.org:443_ _at errnoException (dns.js:50:10)_
_at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:92:26)_ _code: 'ENOTFOUND',_ _errno: 'ENOTFOUND',
_ _syscall: 'getaddrinfo',_   _hostname: 'registry.npmjs.org',_   _host: 'registry.npmjs.org',_ _port: 443,
_ _parent: 'rechoir'}
_ _
Process of unboxing downloaded/pm2.npmbox terminated unexpectedly!
=============================================================================

Document Location

Worldwide

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSYK2S","label":"Rational Software Architect Designer"},"ARM Category":[{"code":"a8m0z000000bmSgAAI","label":"Rational Software Architect-\u003EInstallation"}],"ARM Case Number":"","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"All Version(s)","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
29 May 2020

UID

ibm11168714