Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Sanic ASGI warning when running as prescribed by docs #1150

Unanswered
JamesHutchison asked this question in Problem
Discussion options

The docs currently recommend running via Sanic directly.

https://reactpy.dev/docs/guides/getting-started/running-reactpy.html#running-with-sanic

However, if you do, you get this warning:

No scope. Sanic may not be running with an ASGI server

It seems like if users should be using the built-in Sanic server then this warning should be remove, as it is emitted by ReactPy here:

https://github.com/reactive-python/reactpy/blob/main/src/py/reactpy/reactpy/backend/sanic.py#L167

If users should be using ASGI to serve Sanic, then instructions on how to do that should be provided.

You must be logged in to vote

Replies: 1 comment

Comment options

I got this too, it seems not effect reactpy work.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /