The error is
Error: ENOENT: no such file or directory, open '../mod1/mod1/templates/pages/page1.ftl'
And the contents of the page1.yaml file are erased.
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 Christoph Meier 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