[NPMCLI-41] Availability command fails on Windows Created: 26/Jul/16  Updated: 22/Aug/16  Resolved: 09/Aug/16

Status: Closed
Project: Magnolia CLI
Component/s: None
Affects Version/s: None
Fix Version/s: 0.0.1

Type: Bug Priority: Major
Reporter: Christopher Zimmermann Assignee: Federico Grilli
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: 0.5d
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Sprint: Basel 56
Story Points: 3

 Description   

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.


Generated at Mon Feb 12 04:45:57 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.