zkapp-cli icon indicating copy to clipboard operation
zkapp-cli copied to clipboard

TypeError while running the Next.js build

Open boray opened this issue 1 year ago • 1 comments

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

boray avatar Jul 02 '24 11:07 boray

Probably also is related to https://github.com/o1-labs/zkapp-cli/issues/663

shimkiv avatar Jul 02 '24 11:07 shimkiv

@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?

45930 avatar Aug 13 '24 17:08 45930

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

boray avatar Aug 20 '24 11:08 boray

I am no longer able to reproduce the issue.

boray avatar Sep 29 '24 19:09 boray