Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need a clear error message when executing aio app commands outside of the application root #488

Closed
moritzraho opened this issue Oct 1, 2021 · 1 comment · Fixed by #494
Labels
enhancement New feature or request

Comments

@moritzraho
Copy link
Member

moritzraho commented Oct 1, 2021

Current

 ›   Error: ENOENT: no such file or directory, lstat 'package.json'

And if the cwd contains a package.json

 ›   Error: Couldn't find configuration in '/Users/mraho/work/junk-apps/excshelltest/src/dx-excshell-1', make sure to add at least one extension or a standalone app

Expected

smthg like, for all cases:

Not in a valid application root folder, please run aio app commands from a folder generated by aio app init
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
2 participants