-
Notifications
You must be signed in to change notification settings - Fork 100
Issue deploying modular apps #1768
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
Could you clarify what you mean by "deployed using shinylive locally"?
For Posit Connect Cloud, I can get your app to deploy if I create a uvx --from rsconnect-python --with shiny -p 3.12 rsconnect write-manifest shiny app/ After that the app deployed to Posit Connect Cloud. (I'll be sharing this issue with the Connect Cloud team since it seems less-than-ideal that the Edit: If you run |
@gadenbuie the error showed in the previous comment seems to be an issue related to how the app.json it's created in Windows. In windows Replacing Thanks to @DrEntropy who figured this out |
I just pushed a fix to the @davidrsch Would you mind giving it a try on your Windows machine with your example? pip install git+https://github.com/posit-dev/py-shinylive@fix/46-posix-app-json-path-names |
I can confirm it does work for my windows machine as well ! |
Yes, now is working as expect |
Now, only the issue regarding Posit Connect Cloud will remain.
Have you had any news regarding this @gadenbuie? |
Are you deploying the Shiny app directly or the shinylive export of the Shiny app to Posit Connect Cloud? If the Shiny app directly, then the answer is to create a If you're deploying the exported shinylive app to Connect Cloud, it'd be helpful if you could share the commands you're running to do so. |
Thanks for the confirmation @DrEntropy @davidrsch and for spotting the issue! |
I see your point now; I got confused. As I was trying to deploy using shinylive both locally and on GitHub Pages I thought that somehow Posit Connect Cloud was using my |
Yeah that sounds right! Glad we've figured it all out and thanks again! |
Hello I am giving a try to shiny for python and shinylive for python and have found some issues when deploying modular apps. I have created the following app as an example, you can see that is properly deployed to gh-pages when using shinylive, and is also woeking properly when clicking on the run button at Positron. The issue comes when I try to deployed using shinylive locally or as is in Posit Connect cloud. In both cases I receive the same error message:
The text was updated successfully, but these errors were encountered: