Closed korea7030 closed 1 year ago
Could you try downgrading your bun to v0.5.5? We saw some issues with this version
I also have same problem. OS Linux Debian 11 Python 3.9 Pynecone 0.1.18
I want to weigh in as well since this is happening to me too. I was having my terminal getting frozen at bun install v0.5.7 (5929daee)
when doing pc run
, so I did the following:
.web
folder, my venv
and every __pycache__
.pc init
within it.And when doing pc run
I got an error message:
βββββββββββββββββββββββββββββββββββββββββ Starting Pynecone App βββββββββββββββββββββββββββββββββββββββββ
βββββββββββββββββββββββββββββββββββββ Installing frontend packages ββββββββββββββββββββββββββββββββββββββ
bun install v0.5.7 (5929daee)
error: PathAlreadyExists installing react
error: PathAlreadyExists installing @types/lodash.mergewith
error: PathAlreadyExists installing micromark-extension-gfm-footnote
error: PathAlreadyExists installing @motionone/easing
ββββββββββββββββββββββββββββββββββββββββββββββ App Running ββββββββββββββββββββββββββββββββββββββββββββββ
$ next dev
/home/posho/Repos/Gator/.web/node_modules/next/dist/server/utils.js:34
const shouldUseReactRoot = parseInt(_react.default.version) >= 18;
^
TypeError: Cannot read property 'version' of undefined
at Object.<anonymous> (/home/posho/Repos/Gator/.web/node_modules/next/dist/server/utils.js:34:52)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous> (/home/posho/Repos/Gator/.web/node_modules/next/dist/bin/next:130:33)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
error: script "dev" exited with code 1 (SIGHUP)
If it is useful for any reason, these are the only things I did before I started getting these errors:
pynecone-io
in the requirements.txt
since it is mentioned in the docker-example, and running it once (it failed). My requirements.txt
from my project's stable version is missing this.OS | Ubuntu 22.04.2 LTS |
---|---|
Python | 3.10.6 |
Pynecone | 0.1.18 |
bun | 0.5.7 |
It doesn't work when typing "pc run" in CentOS 7, with error message. I'm not sure I can update glibc to 2.18
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ Starting Pynecone App ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ Installing frontend packages ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ /root/.bun/bin/bun: /lib64/libc.so.6: version
GLIBC_2.18' not found (required by /root/.bun/bin/bun)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ App Running βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
/root/.bun/bin/bun: /lib64/libc.so.6: version GLIBC_2.18' not found (required by /root/.bun/bin/bun)
This should be resolved since hard-coding the bun version.
Describe the bug I got message "TypeError: Cannot read property 'version' of undefined"
Expected behavior typing "pc run". but not working with error message.
Screenshots
Specifics (please complete the following information):