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

TypeError while running the Next.js build #678

Open
boray opened this issue Jul 2, 2024 · 3 comments
Open

TypeError while running the Next.js build #678

boray opened this issue Jul 2, 2024 · 3 comments
Assignees

Comments

@boray
Copy link
Member

boray commented Jul 2, 2024

Describe the bug

Zkapp-cli generated next project builds but gives the error below while running the build.

Screenshot 2024-07-02 at 14 36 22

discord

Steps to Reproduce

$ zk project test
✔ Create an accompanying UI project too? · next
✔ Do you want to set up your project for deployment to GitHub Pages? · no
✔ Would you like to use TypeScript?  Yes
✔ Would you like to use ESLint?   Yes
✔ Would you like to use Tailwind CSS?  Yes

$ cd test/ui
$ npm run build
$ npm run start

System Info

System:
    OS: macOS 14.4.1
    CPU: (8) arm64 Apple M2
  Binaries:
    Node: 18.17.0 - ~/.nvm/versions/node/v18.17.0/bin/node
    Yarn: 1.22.22 - ~/.nvm/versions/node/v18.17.0/bin/yarn
    npm: 10.8.1 - ~/.nvm/versions/node/v18.17.0/bin/npm
  npmPackages:
    o1js: ^1.3.1 => 1.3.1 
  npmGlobalPackages:
    zkapp-cli: 0.21.5

Severity

blocking all usage

Additional Information

No response

@shimkiv
Copy link
Member

shimkiv commented Jul 2, 2024

Probably also is related to #663

@45930
Copy link
Contributor

45930 commented Aug 13, 2024

@boray I am no longer reproduce this issue. With zkapp-cli 0.21.5 and o1js version 1.6.0, building and starting an app works fine. Can you confirm on your machine?

@boray
Copy link
Member Author

boray commented Aug 20, 2024

I'm still getting the same error with zkapp-cli 0.21.5 and o1js 1.6.0.

@45930 45930 assigned 45930 and unassigned shimkiv Aug 20, 2024
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

3 participants