We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, every time I try to run litestar from vscode I get a "Could not find Litestar instance or factory"
Note
While we are open for sponsoring on GitHub Sponsors and OpenCollective, we also utilize Polar.sh to engage in pledge-based sponsorship.
Check out all issues funded or available for funding on our Polar.sh dashboard
The text was updated successfully, but these errors were encountered:
Can you provide an MCVE of your project structure? You can see how Litestar discovers things in https://docs.litestar.dev/latest/usage/cli.html#autodiscovery, and you error indicates those criteria are not met.
If it is not in your current directory, or discoverable otherwise as listed in the documentation, you have to provide the path via something like:
litestar --app-dir "/Users/jacob/Library/Application Support/JetBrains/PyCharm2023.3/scratches/" run
or
litestar --app module.path.to.examples.basic:app run
Sorry, something went wrong.
No branches or pull requests
Hi, every time I try to run litestar from vscode I get a "Could not find Litestar instance or factory"
Note
While we are open for sponsoring on GitHub Sponsors and
OpenCollective, we also utilize Polar.sh to engage in pledge-based sponsorship.
Check out all issues funded or available for funding on our Polar.sh dashboard
The text was updated successfully, but these errors were encountered: