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

mgnl jumpstart not working on centos 7

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      here is the error message:

      [vagrant@bogon magnolia]$ mgnl jumpstart
      info Using configuration at /usr/lib/node_modules/@magnolia/cli/lib/config/mgnl-cli.json
      info Using prototypes at /usr/lib/node_modules/@magnolia/cli/lib/config/mgnl-cli-prototypes
      ? What Magnolia would you like to install? magnolia-community-demo-webapp
      ERR! Object.values is not a function
      ERR! TypeError: Object.values is not a function
      ERR!     at Object.when (/usr/lib/node_modules/@magnolia/cli/bin/mgnl-jumpstart.js:66:25)
      ERR!     at /usr/lib/node_modules/@magnolia/cli/node_modules/run-async/index.js:25:25
      ERR!     at /usr/lib/node_modules/@magnolia/cli/node_modules/run-async/index.js:24:19
      ERR!     at DeferSubscriber.Rx.Observable.defer [as factory] (/usr/lib/node_modules/@magnolia/cli/node_modules/inquirer/lib/ui/prompt.js:109:32)
      ERR!     at DeferSubscriber._callFactory (/usr/lib/node_modules/@magnolia/cli/node_modules/rxjs/observable/DeferObservable.js:92:27)
      ERR!     at DeferSubscriber.tryDefer (/usr/lib/node_modules/@magnolia/cli/node_modules/rxjs/observable/DeferObservable.js:85:18)
      ERR!     at new DeferSubscriber (/usr/lib/node_modules/@magnolia/cli/node_modules/rxjs/observable/DeferObservable.js:81:14)
      ERR!     at DeferObservable._subscribe (/usr/lib/node_modules/@magnolia/cli/node_modules/rxjs/observable/DeferObservable.js:71:16)
      ERR!     at DeferObservable.Observable._trySubscribe (/usr/lib/node_modules/@magnolia/cli/node_modules/rxjs/Observable.js:172:25)
      ERR!     at DeferObservable.Observable.subscribe (/usr/lib/node_modules/@magnolia/cli/node_modules/rxjs/Observable.js:160:93)
      ERR!     at Object.subscribeToResult (/usr/lib/node_modules/@magnolia/cli/node_modules/rxjs/util/subscribeToResult.js:23:27)
      ERR!     at MergeMapSubscriber._innerSub (/usr/lib/node_modules/@magnolia/cli/node_modules/rxjs/operators/mergeMap.js:132:38)
      ERR!     at MergeMapSubscriber._tryNext (/usr/lib/node_modules/@magnolia/cli/node_modules/rxjs/operators/mergeMap.js:129:14)
      ERR!     at MergeMapSubscriber._next (/usr/lib/node_modules/@magnolia/cli/node_modules/rxjs/operators/mergeMap.js:112:18)
      ERR!     at MergeMapSubscriber.Subscriber.next (/usr/lib/node_modules/@magnolia/cli/node_modules/rxjs/Subscriber.js:93:18)
      ERR!     at MergeMapSubscriber.notifyNext (/usr/lib/node_modules/@magnolia/cli/node_modules/rxjs/operators/mergeMap.js:145:30)
      ERR!
      ERR!
      ERR! mgnl: 3.0.1 node: v6.14.2 os: linux 

      This is totally working on windows 7 on my laptop. but when I try to do the same steps on centos 7, errors occur.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                john4191682 John Wang
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: