#NPM Issue with `zkapp-cli` Project

2 messages · Page 1 of 1 (latest)

wild copper
#

I recently encountered an issue while using the zkapp-cli to create a project. During the process, I opted for "none" as the UI option, but I observed an unexpected behavior when reaching the NPM install step.

✔ Create an accompanying UI project too? · none
✔ UI: Set up project
✔ Initialize Git repo
✔ Set up project
✖ NPM install

It seems there might be an issue with the NPM install maybe because of my local setup? I appreciate your assistance in resolving this matter. Please let me know if you need any additional information to investigate further.

robust slate
#

Hello @wild copper, normally the zk project command with none option for UI must work fine, so I think this error is related to your local environment. Can you please share the log of zk system command? Also, please make sure you have the latest version of zkapp-cli with npm install -g zkapp-cli. Also, sometimes calling the zk project with sudo prefix helps. Even though this error does not seem to be related to a permission issue, still worth trying 🙂 Please let me know!