Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
au new command exits early when a local CLI is installed in the current folder #977
I'm submitting a bug report
The expected behavior is that the CLI should either not exit early and go head to create the project. Or alternatively, show a more informative message like
If you install 1.0.0.beta.6 globally, your existing app with 0.34 will still build and run using local 0.34.
Even with global cli upgraded, your existing apps on whatever cli version will continue to use the old version until you update app’s local pacakage.json for aurelia-cli dependency.
You can use
This issue is about to print understandable error message, not to fix some cli bug.
People usually come to this issue when they mistakenly ran
or, as the OP states