Closed pixelzoom closed 3 years ago
error: perennial grunt "--repo=foo" "create-sim" "--repo=foo" "--author=CM" "--title=Foo" failed with code 1
Wondering why "--repo=foo"
is shown twice in this error message?
Interesting... If I run the same command from annual, it works:
% cd annual
% grunt create-sim --repo="foo" --author="CM" --title="Foo"
The sim generated by annual fails at startup with:
foo_en.html:115 GET http://localhost/~cmalley/GitHub/chipper/js/dual/SimVersion.js net::ERR_ABORTED 404 (Not Found)
loadURL @ foo_en.html:115
(anonymous) @ foo_en.html:122
(anonymous) @ foo_en.html:122
updateCheck.js:17 Uncaught TypeError: Cannot read property 'chipper' of undefined
at updateCheck.js:17
(anonymous) @ updateCheck.js:17
chipper/js/dual/SimVersion.js
does not exist in GitHub.
Apparently I was missing something in my local copy. After another pull-all.sh, this is working from perennial and annual. Though I'm not sure why I should be able to run grunt create-sim
from both.
Though I'm not sure why I should be able to run grunt create-sim from both.
It is not recommended to run any grunt commands from annual
. At all. That said it is just a copy of perennial, so we don't have enforcement.
What am I doing wrong here? "foo" is certainly a repo name that meets the requirements.