Offline installation on Windows not working
fehlerteufel opened this issue · 0 comments
fehlerteufel commented
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
- Install Node.js 16
- Download https://github.com/jessety/pm2-installer/archive/refs/tags/v3.1.6.zip
- Create offline bundle (extract, npm run bundle)
- Move directory to offline system - also with Node.js 16 installed
- Open cmd as Administrator
- npm run configure
- npm run configure-policy
- npm run setup
- => 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
- 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
- Move C:\ProgramData\npm to offline system