-
Bug
-
Resolution: Fixed
-
Critical
-
3.0.5
-
None
-
node v9.9.0
-
-
Empty show more show less
-
Yes
-
Foundation 4
-
2
Input from jfrantzius on NPMCLI-176.
I just tried with mgnl: 3.0.5 node: v10.15.0 os: darwin and a local cntlm proxy configured in ~/.npmrc:
https-proxy = "http://localhost:3126/"
proxy = "http://localhost:3126/"
Unfortunately, it seems that the proxy is not properly picked up (it does where everywhere else):
? 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! Request failed with status code 501 ERR! Error: Request failed with status code 501 ERR! at createError (/Users/joerg.frantzius/.nvm/versions/node/v10.15.0/lib/node_modules/@magnolia/cli/node_modules/axios-proxy-fix/lib/core/createError.js:16:15) ERR! at settle (/Users/joerg.frantzius/.nvm/versions/node/v10.15.0/lib/node_modules/@magnolia/cli/node_modules/axios-proxy-fix/lib/core/settle.js:18:12) ERR! at IncomingMessage.handleStreamEnd (/Users/joerg.frantzius/.nvm/versions/node/v10.15.0/lib/node_modules/@magnolia/cli/node_modules/axios-proxy-fix/lib/adapters/http.js:194:11) ERR! at IncomingMessage.emit (events.js:187:15) ERR! at endReadableNT (_stream_readable.js:1094:12) ERR! at process._tickCallback (internal/process/next_tick.js:63:19)
Reported by Tomas
mgnl jumpstart -m 5.7info Using configuration at /usr/lib/node_modules/@magnolia/cli/lib/config/mgnl-cli.jsoninfo Using prototypes at /usr/lib/node_modules/@magnolia/cli/lib/config/mgnl-cli-prototypes? What Magnolia would you like to install? magnolia-community-demo-webappinfo No path option provided. Will use the default light-modules in the current directoryinfo /home....ight-modules does not seem to exist. Path will be created automatically. ERR! Request failed with status code 400ERR! Error: Request failed with status code 400ERR! at createError (/usr/lib/node_modules/@magnolia/cli/node_modules/axios-proxy-fix/lib/core/createError.js:16:15)ERR! at settle (/usr/lib/node_modules/@magnolia/cli/node_modules/axios-proxy-fix/lib/core/settle.js:18:12)ERR! at IncomingMessage.handleStreamEnd (/usr/lib/node_modules/@magnolia/cli/node_modules/axios-proxy-fix/lib/adapters/http.js:194:11)ERR! at IncomingMessage.emit (events.js:187:15)ERR! at endReadableNT (_stream_readable.js:1094:12)ERR! at process._tickCallback (internal/process/next_tick.js:63:19 )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
Acceptance criteria
- clones
-
NPMCLI-176 mgnl jumpstart fails when behind proxy
- Closed
- relates to
-
NPMCLI-206 mgnl jumpstart not working behind proxy
- Closed
- supersedes
-
NPMCLI-199 mgnl jumpstart fails
- Closed
- to be documented by
-
NPMCLI-208 DOC: Document the release of CLI 3.0.6
- Closed