reflex
reflex copied to clipboard
pc run hang on 'bun install' for hours!
Describe the bug
After command pc run, there will be Starting Pynecone App, and Installing frontend packages, then bun install v0.5.7 (5929daee), that's it, it will keep this line for hours, just wondering that's going on and how could get round it?
To Reproduce Steps to reproduce the behavior: follow the instructions on the website:
pip install pinecone
pc init
pc run
Expected behavior local website can be visited
Screenshots

** Specifics (please complete the following information):**
- Python Version: 3.7.9
- Pynecone Version: 0.1.18
- OS: macOS 12.6.2
- Browser (Optional):
Hi can you downgrade to v0.5.5 I think there is a problem in the latest version of bun
I think this should solve it
@Alek99 thanks, I will give it a try. But how can I downgrade bun, or how can I install bun for a specific version?
@Alek99 thanks, I will give it a try. But how can I downgrade bun, or how can I install bun for a specific version?
You can try to uninstall it and install again with pc run, we currectly use the specific version of bun in install script.
@Alek99 thanks, I will give it a try. But how can I downgrade bun, or how can I install bun for a specific version?
curl -fsSL https://bun.sh/install | bash -s -- bun-v0.5.5
Hi, I work at Bun. Sorry you're running into this, we're going to investigate to see if this is an issue with Bun. https://github.com/oven-sh/bun/issues/2392
Hi, I work at Bun. Sorry you're running into this, we're going to investigate to see if this is an issue with Bun. oven-sh/bun#2392
Awesome thank you!
We may need to add a special warning in Pynecone if bun version was causing this. I'll add this