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

CLI jumpstart fails - due to regression in adm-zip dependency

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 3.0.1
    • None
    • Yes
    • Basel 148
    • 2

      Based on comments, this error is dependant on the version of node installed.

      It seems it is a known issue: adm-zip issue.

      The automaticly installed version 0.4.11 does not work.
      Pinning "adm-zip" explictly to "0.4.7" instead of "^0.4.7" in the package.json fixes the issue.

       

       


      Windows 7: 

      The "mgnl jumpstart" command failed with the error: "No such file or directory ... \apache-tomcat\bin"

      • node.js: 8.11.1 and 8.11.2
      • cli: 3.0.0
      • npm: 5.6.0

       I think that the cause of this problem is here: https://git.magnolia-cms.com/projects/BUILD/repos/npm-cli/browse/lib/jumpstart.js#97

      Windows 10NPMCLI-181

      • node.js: 8.11.1
      • cli 3.0.0
      • npm: 5.6.0

      Linux

      • Linux Mint 18.03 (MATE)
      • nodejs 10.1.0
      • npm 5.6.0
      • CLI 2.2.0, CLI 3.0.0

       

      • Ubuntu MATE 16.04.4 LTS
      • CLI 2.2.0
      • node.js 9.11.1
      • npm 5.6.0

       

      • Ubuntu MATE 16.04.3 LTS, Linux Mint 18.03 (MATE)
      • CLI 3.0.0
      • node.js 8.11.2
      • npm 5.6.0

      Mac OS X

      • Mac OS High Sierra 10.13.4
      • nodejs 8.11.2
      • npm 5.6.0
      • CLI 3.0.0

      Install is successful on

      • Mac OS High Sierra 10.13.2
      • nodejs 8.9.1
      • npm 5.6.0
      • CLI 3.0.0

       

       

       

        Acceptance criteria

              fgrilli Federico Grilli
              evystup Ervin Vystup
              Votes:
              4 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD