-
Bug
-
Resolution: Fixed
-
Major
-
None
-
-
Empty show more show less
-
Basel 53
-
1
The error is
/usr/local/lib/node_modules/@magnolia/cli/bin/addAvailability.js:122
Error: ENOENT: no such file or directory, open '../mod1/mod1/templates/pages/page1.ftl'
And the contents of the page1.yaml file are erased.
To reproduce:
mgnl create-light-module mod1
mgnl create-page page1 -p mod1
Any of the following commands then produce the same error
mgnl create-component comp2 -p mod1 -a pages/page1@main
mgnl create-component comp2 -p mod1 -a mod1:pages/page1@main
-
I looked at this with cmeier and he was able to accomplish the same basic task - but we didnt understand under what conditions it worked. The above commands failed on both our systems with version 0.0.1-snapshot-70
Acceptance criteria