Cannot find bun file
Describe the bug I use the command of run, but it throws an error saying the bun file does not exist, even though it does and it is on my PATH. I am using a Linux os on Android, namely Userland Ubuntu. When I type "which bun", it gives the exact same path that it uses when it says the file cannot be found.
Traceback
userland@localhost:~/PyneProj$ pc run
ββββββββββββββββββ Starting Pynecone App ββββββββββββββββββ
ββββββββββββββ Installing frontend packages βββββββββββββββ
Traceback (most recent call last):
File "/usr/local/bin/pc", line 8, in
Screenshots If applicable, add screenshots to help explain your problem.
** Specifics (please complete the following information):**
- Python Version: 3.10.6
- Pynecone Version: 0.1.20
- OS: Linux
- Browser (Optional):
Additional context Add any other context about the problem here.
I see, can you try putting that path from which bun in your pcconfig for bun_path and see if you still get the error
You're referring to the config.py file, am I correct? I tried that and it is still throwing up the same error. It is still saying the file does not exist, even though it does.
On Mon, Mar 13, 2023, 11:44 PM Alek Petuskey @.***> wrote:
I see, can you try putting that path from which bun in your pcconfig for bun_path and see if you still get the error
β Reply to this email directly, view it on GitHub https://github.com/pynecone-io/pynecone/issues/672#issuecomment-1467350866, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXG3DUB4X6YUHHMLIZTLLUDW37ZTVANCNFSM6AAAAAAVZYXWNE . You are receiving this because you authored the thread.Message ID: @.***>
I think I figured it out. As far as I can tell, there isn't a 32-bit version of bun and my system happens to be 32-bit (armv7l). I should have specified that. Sorry for the confusion. Is there another way to use Pynecone with my architecture?
On Tue, Mar 14, 2023, 7:06 AM Billy Johnson @.***> wrote:
You're referring to the config.py file, am I correct? I tried that and it is still throwing up the same error. It is still saying the file does not exist, even though it does.
On Mon, Mar 13, 2023, 11:44 PM Alek Petuskey @.***> wrote:
I see, can you try putting that path from which bun in your pcconfig for bun_path and see if you still get the error
β Reply to this email directly, view it on GitHub https://github.com/pynecone-io/pynecone/issues/672#issuecomment-1467350866, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXG3DUB4X6YUHHMLIZTLLUDW37ZTVANCNFSM6AAAAAAVZYXWNE . You are receiving this because you authored the thread.Message ID: @.***>
Got it we need to make a fallback to npm if the system does not support bun.
Will get this in one of the next releases.
Now that I am thinking more about this feature I am going to make an argument in the pcconfig to not use bun. That way we don't manually have to keep track of which os works with that dependency.