Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Offline installation on Windows not working #29

Closed
fehlerteufel opened this issue May 28, 2021 · 0 comments · Fixed by #36
Closed

Offline installation on Windows not working #29

fehlerteufel opened this issue May 28, 2021 · 0 comments · Fixed by #36

Comments

@fehlerteufel
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant