Skip to content
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 is failed on the released pynecone==0.1.30 #1039

Closed
milochen0418 opened this issue May 17, 2023 · 2 comments
Closed

pc run is failed on the released pynecone==0.1.30 #1039

milochen0418 opened this issue May 17, 2023 · 2 comments

Comments

@milochen0418
Copy link
Contributor

milochen0418 commented May 17, 2023

Describe the bug
A clear and concise description of what the bug is.
It's failed to create pynecone project.
It's also failed on all example on pynecone-io/pynecone-examples.git

To Reproduce
Steps to reproduce the behavior:

  • Code/Link to Repo:

Expected behavior
A clear and concise description of what you expected to happen.

** Specifics (please complete the following information):**

  • Python Version: 3.11.1
  • Pynecone Version: 0.1.30
  • OS: Mac OS X
  • Browser (Optional): Chrome

Additional context
Add any other context about the problem here.

(pynecone-examples) milo@MacBook-Pro ~/tmp $ mkdir example
(pynecone-examples) milo@MacBook-Pro ~/tmp $ cd example
(pynecone-examples) milo@MacBook-Pro ~/tmp/example $ pc init
───────────────── Initializing example ─────────────────────
[11:03:03] Initializing the web directory.                                                                                                         console.py:30
           Initializing the app directory.                                                                                                         console.py:30
           Finished Initializing: example                                                                                                          console.py:30
(pynecone-examples) milo@MacBook-Pro ~/tmp/example $ pc run
──────────────── Starting Pynecone App ────────────────────
─────────────── Installing frontend packages ───────────────────
bun install v0.5.9 (f3ab445c)
────────────────── App Running ──────────────────
$ next dev
/Users/milochen/tmp/example/.web/node_modules/next/dist/server/web/spec-extension/adapters/headers.js:187
    [Symbol.iterator]() {
            ^

TypeError: Class extends value undefined is not a constructor or null
    at Object.<anonymous> (/Users/milochen/tmp/example/.web/node_modules/next/dist/server/web/spec-extension/adapters/headers.js:187:13)
    at Module._compile (node:internal/modules/cjs/loader:1101:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:94:18)
    at Object.<anonymous> (/Users/milochen/tmp/example/.web/node_modules/next/dist/server/api-utils/index.js:67:18)
    at Module._compile (node:internal/modules/cjs/loader:1101:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
error: script "dev" exited with code 1 (SIGHUP)

@milochen0418 milochen0418 changed the title pc run failed on the released pynecone==0.1.30 pc run default example is failed on the released pynecone==0.1.30 May 17, 2023
@milochen0418 milochen0418 changed the title pc run default example is failed on the released pynecone==0.1.30 pc run is failed on the released pynecone==0.1.30 May 17, 2023
@picklelo
Copy link
Contributor

Thanks for fixing - this should be in the latest release v0.1.31

@milochen0418
Copy link
Contributor Author

Thanks for fixing - this should be in the latest release v0.1.31

There is a bug.It may also important.
When user change the page,
the frontend have some error.
You mAy refer the following testing result.
reflex-dev/reflex-examples#74

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants