[NPMCLI-227] CLI jumpstart: Object.values is not a function Created: 01/Aug/19 Updated: 11/May/20 Resolved: 11/May/20 |
|
| Status: | Closed |
| Project: | Magnolia CLI |
| Component/s: | None |
| Affects Version/s: | 3.1.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Critical |
| Reporter: | Bhupesh Belchandan | Assignee: | Unassigned |
| Resolution: | Not an issue | Votes: | 0 |
| Labels: | maintenance | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Mac OSX 10.14.5 |
||
| Issue Links: |
|
||||||||
| 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: | |||||||||
| Description |
|
When running: mgnl jumpstart -m 6.1 with option 2, i.e. magnolia-community-webapp getting following error: mgnl jumpstart -m 6.1 |
| Comments |
| Comment by Christopher Zimmermann [ 05/Aug/19 ] |
|
Hi there, I just tried it locally on MacOS and it is working on at least one machine. I notice from your logs that you are running node v6.11.12 which is from 2017. Could you try updating your node to a newer version (for example the latest LTS (10.16.1) and try again and let us know what happens? |
| Comment by Bhupesh Belchandan [ 19/Aug/19 ] |
|
Thanks Christopher and apology for such late response. Will try updating my node version sometime soon, for this project started with available bundle and thus have workaround in Magnolia and that's great |
| Comment by Jojo Joy [ 26/Sep/19 ] |
|
From Windows:
C:\Users\user\dev>mgnl jumpstart |
| Comment by Jojo Joy [ 26/Sep/19 ] |
|
And this is from Mac: user@machine ~/dev $> mgnl jumpstart |
| Comment by Bryan Lewis [ 18/Apr/20 ] |
|
I'm getting this error as well:
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:29:20) ERR! at /usr/local/lib/node_modules/@magnolia/cli/lib/download.js:94:5 ERR! at processTicksAndRejections (internal/process/task_queues.js:97:5) ERR! ERR! ERR! mgnl: 3.1.0 node: v12.16.2 os: darwin ERR! please open an issue including this log on https://jira.magnolia-cms.com/browse/NPMCLI |
| Comment by Maxime Michel [ 11/May/20 ] |
|
Object.values is not a function is due to too old of a Node version, as can be seen on the following page: https://node.green/#ES2017-features-Object-static-methods-Object-values I am therefore closing this ticket and will create a new one for the issue reported in comments. |