-
Bug
-
Resolution: Fixed
-
Neutral
-
3.1.0
-
-
Empty show more show less
-
Yes
-
Maintenance 7
-
1
A bug reported by multiple users in the comments of NPMCLI-227 makes jumpstart fail.
It looks like there is some sort of HTTP error to begin with, but that the snippet handling errors fails early due to an undefined object, and we therefore do not know what actually happened.
I would suggest making the following block safer with checks on err, err.response and err.response.status: https://git.magnolia-cms.com/projects/BUILD/repos/npm-cli/browse/lib/download.js#29-35
Acceptance criteria
- is related to
-
NPMCLI-227 CLI jumpstart: Object.values is not a function
- Closed