zkapp-cli
zkapp-cli copied to clipboard
zk system only finds o1js from the ui and contracts directories
Describe the bug
zk system only finds o1js from the ui and contracts directories
I installed the latest version of the Mina zkApp CLI:
$ npm update -g zkapp-cli
and successfully created a zkApp CLI with tutorial 4
But get inconsistent results with the zk system
command
Steps to Reproduce
The zk system
command doesn't find o1js from the root project directory:
➜ 04-zkapp-browser-ui git:(main) ✗ pwd
/Users/barriebyron/zkprojects/04-zkapp-browser-ui
➜ 04-zkapp-browser-ui git:(main) ✗ zk system
Be sure to include the following system information when submitting a GitHub issue:
System:
OS: macOS 13.5.1
CPU: (12) arm64 Apple M2 Pro
Binaries:
Node: 18.5.0 - ~/.nvm/versions/node/v18.5.0/bin/node
Yarn: Not Found
npm: 8.12.1 - ~/.nvm/versions/node/v18.5.0/bin/npm
npmPackages:
o1js: Not Found (not in a project)
npmGlobalPackages:
zkapp-cli: 0.11.2
Success with the zk system
command from the 04-zkapp-browser-ui/ui
directory and the /04-zkapp-browser-ui/contracts
directory
➜ 04-zkapp-browser-ui git:(main) ✗ pwd
/Users/barriebyron/zkprojects/04-zkapp-browser-ui
➜ 04-zkapp-browser-ui git:(main) ✗ cd ui
➜ ui git:(main) ✗ zk system
Be sure to include the following system information when submitting a GitHub issue:
System:
OS: macOS 13.5.1
CPU: (12) arm64 Apple M2 Pro
Binaries:
Node: 18.5.0 - ~/.nvm/versions/node/v18.5.0/bin/node
Yarn: Not Found
npm: 8.12.1 - ~/.nvm/versions/node/v18.5.0/bin/npm
npmPackages:
o1js: 0.* => 0.12.1
npmGlobalPackages:
zkapp-cli: 0.11.2
System Info
as above!
Severity
serious, but I can work around it
Additional Information
No response