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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.1
    • Labels:
    • Release notes required:
      Yes
    • Epic Link:
    • Sprint:
      Basel 148
    • Story Points:
      2

      Description

      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

       

       

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                fgrilli Federico Grilli
                Reporter:
                evystup Ervín Výstup
              • Votes:
                4 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

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