Closed TheKidThatCodes closed 1 year ago
Ok will try and reproduce tomorrow and will follow up here.
Try bun install --backend=copyfile
. This is a known issue of bun on MacOS
how would i do that the install is automated by pynecone
You can try it manually, after pc init
go to .web
folder inside your project and try to run bun install --backend=copyfile
. If it works run next dev
. Let us know if it works, the team may consider to add an option to specify bun backend from CLI directly from pynecone. For example pc run --backend=copyfile
.
I can't reproduce this issue because i don't use macOS and it seems that the bug is related to only some version of macOS
it fixed it but now #423 is happening
Are you using Brave?
yes
Maybe you can try another browser as a temporary fix.
Same Error occur. OS : Fedora Linux 36 CPU : Intel i7-8700 RAM : Samsung 16 * 2 python : 3.10.9 pynecone : 0.1.14
pc init and then pc run. bun is not working. stop the screen and show anything. (bun installed ...)
[16:01:49] cpe-172-100-0-1/i7@ten10kim:~/pywork/pynecone_app $ pc run ─────────────────────────────────────────────────────────────────── Starting Pynecone App ─────────────────────────────────────────────────────────────────── ─────────────────────────────────────────────────────────────── Installing frontend packages ──────────────────────────────────────────────────────────────── bun install v0.5.6 (ddec9e0b)
append
custom install bun. and change directory .web. bun install ok working. why not?
Currently having the same issue
I just installed pynecone via the introduction, but the same error occured.
I checked the errors and I think it has something todo with node and the node installation (or how the pc command resolves this). For instance, I needed to install next
globally (npm i -g next
), which should not be neccessary since it is installed in the node_modules
folder under .web
. Just to make sure I installed deps from the package.json file manually first.
I assume, if I would install all deps from the package.json globally some errors (or all?) might be resolved as well, but I don't like that solution.
This should be fixed since we started hard-coding the bun version. Feel free to re-open if anyone runs into this still.
Describe the bug a long list of failed install errors happens when i try to do
pc run
Error Log:
To Reproduce Steps to reproduce the behavior:
pc init
thenpc run
Expected behavior the base pynecone app starts
Screenshots n/a
Specifics (please complete the following information):
Additional context i added bun to my path and it didnt help