File tree 1 file changed +5
-1
lines changed
src/py/reactpy/reactpy/backend
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 6
6
from typing import Any , NoReturn
7
7
8
8
from reactpy .backend .types import BackendImplementation
9
+ from reactpy .backend .utils import SUPPORTED_PACKAGES
9
10
from reactpy .backend .utils import all_implementations
10
11
from reactpy .types import RootComponentConstructor
11
12
@@ -59,7 +60,10 @@ def _default_implementation() -> BackendImplementation[Any]:
59
60
implementation = next (all_implementations ())
60
61
except StopIteration : # nocov
61
62
logger .debug ("Backend implementation import failed" , exc_info = exc_info ())
62
- msg = "No built-in server implementation installed."
63
+ supported_backends = ', ' .join (SUPPORTED_PACKAGES )
64
+ msg = "It seems you haven't installed any built-in backends. \n " \
65
+ "To resolve this issue, you can install a backend like 'reactpy[starlette]' or any other supported backend.\n " \
66
+ f"The list of supported backends is: { supported_backends } ."
63
67
raise RuntimeError (msg ) from None
64
68
else :
65
69
_DEFAULT_IMPLEMENTATION = implementation
You can’t perform that action at this time.
0 commit comments