Uploaded image for project: 'Magnolia CLI'
  1. Magnolia CLI
  2. NPMCLI-227

CLI jumpstart: Object.values is not a function

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Not an issue
    • Affects Version/s: 3.1
    • Fix Version/s: None
    • Labels:
    • Environment:
      Mac OSX 10.14.5

      Description

      When running:

      mgnl jumpstart -m 6.1

      with option 2, i.e. magnolia-community-webapp

      getting following error:

      mgnl jumpstart -m 6.1
      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-webapp
      ERR! Object.values is not a function
      ERR! TypeError: Object.values is not a function
      ERR! at Object.when (/usr/local/lib/node_modules/@magnolia/cli/bin/mgnl-jumpstart.js:79:25)
      ERR! at /usr/local/lib/node_modules/@magnolia/cli/node_modules/run-async/index.js:25:25
      ERR! at /usr/local/lib/node_modules/@magnolia/cli/node_modules/run-async/index.js:24:19
      ERR! at DeferSubscriber.Rx.Observable.defer [as factory] (/usr/local/lib/node_modules/@magnolia/cli/node_modules/inquirer/lib/ui/prompt.js:109:32)
      ERR! at DeferSubscriber._callFactory (/usr/local/lib/node_modules/@magnolia/cli/node_modules/rxjs/observable/DeferObservable.js:92:27)
      ERR! at DeferSubscriber.tryDefer (/usr/local/lib/node_modules/@magnolia/cli/node_modules/rxjs/observable/DeferObservable.js:85:18)
      ERR! at new DeferSubscriber (/usr/local/lib/node_modules/@magnolia/cli/node_modules/rxjs/observable/DeferObservable.js:81:14)
      ERR! at DeferObservable._subscribe (/usr/local/lib/node_modules/@magnolia/cli/node_modules/rxjs/observable/DeferObservable.js:71:16)
      ERR! at DeferObservable.Observable._trySubscribe (/usr/local/lib/node_modules/@magnolia/cli/node_modules/rxjs/Observable.js:172:25)
      ERR! at DeferObservable.Observable.subscribe (/usr/local/lib/node_modules/@magnolia/cli/node_modules/rxjs/Observable.js:160:93)
      ERR! at Object.subscribeToResult (/usr/local/lib/node_modules/@magnolia/cli/node_modules/rxjs/util/subscribeToResult.js:23:27)
      ERR! at MergeMapSubscriber._innerSub (/usr/local/lib/node_modules/@magnolia/cli/node_modules/rxjs/operators/mergeMap.js:132:38)
      ERR! at MergeMapSubscriber._tryNext (/usr/local/lib/node_modules/@magnolia/cli/node_modules/rxjs/operators/mergeMap.js:129:14)
      ERR! at MergeMapSubscriber._next (/usr/local/lib/node_modules/@magnolia/cli/node_modules/rxjs/operators/mergeMap.js:112:18)
      ERR! at MergeMapSubscriber.Subscriber.next (/usr/local/lib/node_modules/@magnolia/cli/node_modules/rxjs/Subscriber.js:93:18)
      ERR! at MergeMapSubscriber.notifyNext (/usr/local/lib/node_modules/@magnolia/cli/node_modules/rxjs/operators/mergeMap.js:145:30)
      ERR!
      ERR!
      ERR! mgnl: 3.1.0 node: v6.11.2 os: darwin
      ERR! please open an issue including this log on https://jira.magnolia-cms.com/browse/NPMCLI

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              bbelchandan Bhupesh Belchandan
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: