reflex-dev / reflex

🕸️ Web apps in pure Python 🐍
https://reflex.dev
Apache License 2.0
20.49k stars 1.18k forks source link

relfex init fail #2449

Open EzequielQuintana opened 10 months ago

EzequielQuintana commented 10 months ago

Describe the bug Falla cuando hago reflex init To Reproduce Steps to reproduce the behavior:

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.

ElijahAhianyo commented 10 months ago

your logs are missing the system info aspect which shows before the initialization step. Should look something like this: ───────────────────────────────── System Info ──────────────────────────────────

can you re-run reflex init --loglevel debug and add that?

masenf commented 10 months ago

If reflex init crashes before its able to output system info, can you post the bun version by running it directly?

~/.local/share/reflex/bun/bin/bun --version
EzequielQuintana commented 10 months ago

.local/share/reflex/bun/bin/bun --version Instrucción ilegal (`core' generado)

El vie, 26 ene 2024 a las 14:36, Masen Furer @.***>) escribió:

If reflex init crashes before its able to output system info, can you post the bun version by running it directly?

.local/share/reflex/bun/bin/bun --version

— Reply to this email directly, view it on GitHub https://github.com/reflex-dev/reflex/issues/2449#issuecomment-1912431125, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6P2MSWLTUT5QTOKWJIPZK3YQPSR5AVCNFSM6AAAAABCJTPPDCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJSGQZTCMJSGU . You are receiving this because you authored the thread.Message ID: @.***>

masenf commented 10 months ago

@EzequielQuintana okay i think you're hitting https://github.com/oven-sh/bun/issues/67, which shows up on older machines.

To confirm this theory, download the "baseline" build of bun, and extract it to ~/.local/share/reflex/bun/bin/bun, then see if you can get the version.

https://github.com/oven-sh/bun/releases/download/bun-v1.0.25/bun-linux-x64-baseline.zip

Oh, and if you please, post the output of cat /proc/cpuinfo

EzequielQuintana commented 10 months ago

Same error

sudo .local/share/reflex/bun/bin/bun --version Instrucción ilegal

El vie, 26 ene 2024 a las 14:59, Masen Furer @.***>) escribió:

@EzequielQuintana https://github.com/EzequielQuintana okay i think you're hitting oven-sh/bun#67 https://github.com/oven-sh/bun/issues/67, which shows up on older machines.

To confirm this theory, download the "baseline" build of bun, and extract it to ~/.local/share/reflex/bun/bin/bun, then see if you can get the version.

https://github.com/oven-sh/bun/releases/download/bun-v1.0.25/bun-linux-x64-baseline.zip

— Reply to this email directly, view it on GitHub https://github.com/reflex-dev/reflex/issues/2449#issuecomment-1912463016, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6P2MST4OHDNVMIXUFRFOPTYQPVH5AVCNFSM6AAAAABCJTPPDCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJSGQ3DGMBRGY . You are receiving this because you were mentioned.Message ID: @.***>

iddrisumohamme1 commented 10 months ago

Same error message PS C:\Users\acer i3\my_app_name> reflex init reflex : The term 'reflex' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name,
or if a path was included, verify that the path is correct and try again.
At line:1 char:1

picklelo commented 10 months ago

@iddrisumohamme1 Are you using a virtual env as recommended in the docs?

iddrisumohamme1 commented 10 months ago

yes

ElijahAhianyo commented 8 months ago

Same error message PS C:\Users\acer i3\my_app_name> reflex init reflex : The term 'reflex' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1

  • reflex init
  • + CategoryInfo          : ObjectNotFound: (reflex:String) [], CommandNo  
    tFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
    

Can you confirm if this is still an issue?