[NPMCLI-199] mgnl jumpstart fails Created: 10/Jan/19  Updated: 11/Feb/19  Resolved: 11/Feb/19

Status: Closed
Project: Magnolia CLI
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Kamila Polewczyk Assignee: Unassigned
Resolution: Duplicate Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Cloners
clones NPMCLI-176 mgnl jumpstart fails when behind proxy Closed
Relates
relates to NPMCLI-196 Replace axios-https-proxy-fix again w... Closed
supersession
is superseded by NPMCLI-207 jumpstart STILL fails when behind proxy Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:
Epic Link: Starting is easy

 Description   

I can't run 'mgnl jumpstart' command.

 

$ lsb_release -irc
Distributor ID: Ubuntu
Release: 16.04
Codename: xenial

$ node -v
v10.15.0

$ java -version
java version "1.8.0_111"
Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)

 

$ sudo mgnl jumpstart
info Using configuration at /usr/local/lib/node_modules/@magnolia/cli/lib/config/mgnl-cli.json
info Using prototypes at /usr/local/lib/node_modules/@magnolia/cli/lib/config/mgnl-cli-prototypes
? What Magnolia would you like to install? magnolia-community-demo-webapp
info No magnolia-version option provided. Will use the latest stable version.
info No path option provided. Will use the default light-modules in the current directory
ERR! Cannot read property 'status' of undefined
ERR! TypeError: Cannot read property 'status' of undefined
ERR!     at handleError (/usr/local/lib/node_modules/@magnolia/cli/lib/download.js:27:20)
ERR!     at axios.get.then.catch (/usr/local/lib/node_modules/@magnolia/cli/lib/download.js:77:5)
ERR!     at process._tickCallback (internal/process/next_tick.js:68:7)
ERR! 
ERR! 
ERR! mgnl: 3.0.5 node: v10.15.0 os: linux
ERR! please open an issue including this log on https://jira.magnolia-cms.com/browse/NPMCLI


 Comments   
Comment by Federico Grilli [ 08/Feb/19 ]

Thanks for reporting this. We'll try to tackle it asap. At first glance, it could be that the library we use for the fix isn't handling https proxies correctly. Probably it will have to be replaced with https://www.npmjs.com/package/axios-https-proxy-fix as long as axios itself doesn't fix it.

Comment by Federico Grilli [ 11/Feb/19 ]

Superseded by NPMCLI-207

Comment by Christopher Zimmermann [ 11/Feb/19 ]

Hi Polewczyk We think your issue is solved with the new CLI release 3.0.6 (fixed under https://jira.magnolia-cms.com/browse/NPMCLI-207)

Can you please upgrade your CLI version and let us know if it solves your problem?

npm update @magnolia/cli -g
Generated at Mon Feb 12 04:47:29 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.