-
-
Notifications
You must be signed in to change notification settings - Fork 323
Better Error Message If No Backend Installed #1042
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
Comments
can i work on this issue? |
Sure. This error happens when you haven't installed any of the built-in backends. For example, if you only run So really, all we need here is a more detailed message that suggests a solution to the problem rather then just saying that we couldn't find an installed backend. The message in question can be found here. |
Okay so in the error message should it suggest possible fixes or should it suggest the exact fix for the problem? for instance possible fix could be to suggest a list of commands that might help them fix the problem |
Given that the user, having only installed |
If you're able to get this done in the next day or two we can put this out in a 1.0.1 release. |
Got it! i am already on it |
* Better Error message if no backend installed #1042 * change the error message as requested * Update src/py/reactpy/reactpy/backend/default.py Co-authored-by: Ryan Morshead <[email protected]> * fix linting issues * Update src/py/reactpy/reactpy/backend/default.py Co-authored-by: Ryan Morshead <[email protected]> * Improve readability * Update src/py/reactpy/reactpy/backend/default.py * make text bold --------- Co-authored-by: Ryan Morshead <[email protected]>
Current Situation
I think a lot of people get confused by this error message:

Proposed Actions
We should suggest installing a particular backend in the error message (e.g.
pip install reactpy[starlette]
).The text was updated successfully, but these errors were encountered: