You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Cannot install pm2-installer offline on a computer
Steps to Reproduce
npm run bundle // computer with internet
move folder to server without internet
Open Node.js command prompt as administrator on server, cd to folder
npm configure, npm configure-policy, npm run setup --> last command gives this error:
Folder\pm2-installer-3.3.1\src\windows\setup-packages.ps1 : Could not extract
offline bundle. Expand .\bundle.tar.gz or .\bundle.zip manually and run this
script again.
At C:\Users\septagehelp\Downloads\6.2.0.4\Copy Files to EleMech
Folder\pm2-installer-3.3.1\src\windows\setup.ps1:25 char:1
+ & .\src\windows\setup-packages.ps1
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorExcep
tion
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorExceptio
n,setup-packages.ps1
I manually unzip bundle.zip and run npm run setup, I get the same error as above, so I delete bundle.zip and leave the folder, then I get the message:
Cannot connect to the npm registry, and no offline bundle was found. Attempting
install anyway..
the installation fails, there is no internet on this computer
Environment
> [email protected] info
> node ./src/bundle-info/current.js
Running on: 1/25/2022, pm2-installer 3.3.1 with node v16.13.2 and npm 8.1.2 on w
in32-6.3.9600.
The text was updated successfully, but these errors were encountered:
Description
Cannot install pm2-installer offline on a computer
Steps to Reproduce
npm run bundle
// computer with internetnpm configure
,npm configure-policy
,npm run setup
--> last command gives this error:bundle.zip
and runnpm run setup
, I get the same error as above, so I deletebundle.zip
and leave the folder, then I get the message:Environment
The text was updated successfully, but these errors were encountered: