-
Notifications
You must be signed in to change notification settings - Fork 969
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
pc run failed - because bun's upgrading is not work from installation. #901
Comments
I see, thank for pointing out. Ok I will look into making a new command which will upgrade the install. |
@Alek99 The purpose of the following idea is to make sure pynecone has a good development experience. Maybe we can check the version of bun in pc init, For them, they just need to follow the order without understanding too much information. If they are high-level users but beginner programmers, If they are a senior program, they can check this suggestion and So everyone can feel good about this guidance. |
Thanks @Lendemor ~~~ |
@picklelo @Lendemor |
Describe the bug
A clear and concise description of what the bug is.
In constants.py, we have
In pynecone/utils/prerequisites.py, we have
When the user calls
pc init
, the INSTALL_BUN will be invoked.This installation will not automatically replace the old version, and the good thing is to avoid downloading again.
The pynecone application developer doesn't need to know what bun version they use.
If we change the bun version for fitting new pynecone, they will upgrade their pynecone package and then
find out
pc run
will get failed.After my testing, the INSTALL_BUN can work well on my mac, we can replace any bun version by the command
#494
But the only issue of the logic is this logic condition
it check this path to decide updating bun or not.
If you ever install pynecone install from 2023 Feb 10
Then you can check
~/.bun/bin/bun --version
to see what bun version you haveAnd you can find out the bun version is old.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
** Specifics (please complete the following information):**
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: