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

Availability command fails on Windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 0.0.1
    • None
    • None
    • Basel 56
    • 3

      On 0.0.1-snapshot-72

      To reproduce:

      • mgnl create-light-module mod1
      • cd mod1
      • mgnl create-page p1
      • mgnl create-component c1 -a pages/p1@new

      Results in many "DONE:" messages - but then a problem at the end with the FTL. It looks like a non cross-platform command was used to build the path to the FTL.

      ERROR:
      addAvailability.js:122
      no such file or directory, open 'C:\mod1\templates\pages\p1.ftl

      Note: Same commands were tested on OSX and worked ok.

        Acceptance criteria

              fgrilli Federico Grilli
              czimmermann Christopher Zimmermann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 0.5d
                    0.5d