jessety/pm2-installer

Offline installation on Windows not working

fehlerteufel opened this issue · 0 comments

Description
Offline installation on Windows 10 fails after/at step "Linking node-windows.." because the script want to fetch @jessety/eslint-config , which is not possible being offline.

Steps to Reproduce

  1. Install Node.js 16
  2. Download https://github.com/jessety/pm2-installer/archive/refs/tags/v3.1.6.zip
  3. Create offline bundle (extract, npm run bundle)
  4. Move directory to offline system - also with Node.js 16 installed
  5. Open cmd as Administrator
  6. npm run configure
  7. npm run configure-policy
  8. npm run setup
  9. => Error log.txt

Environment
Running on: 28.5.2021, pm2-installer 3.1.6 with node v16.2.0 and npm 7.13.0 on win32-10.0.17763.

Workaround

  1. On online machine: npm i -g @jessety/eslint-config editorconfig-checker inquirer nice-try write minimist editorconfig-checker@3.3.0 eslint@6.8.0
  2. Move C:\ProgramData\npm to offline system