zkapp-cli
zkapp-cli copied to clipboard
TypeError while running the Next.js build
Describe the bug
Zkapp-cli generated next project builds but gives the error below while running the build.
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
Probably also is related to https://github.com/o1-labs/zkapp-cli/issues/663
@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?
I'm still getting the same error with zkapp-cli 0.21.5 and o1js 1.6.0.
I am no longer able to reproduce the issue.