`dfx deploy` halts when running `npm run generate` using a protected identity
domwoe opened this issue · comments
I tried the following:
dfx deploy
with password protected identity
I expected to see this happen: explanation
Successful deployment
Instead, this happened: explanation
Halts with Building frontend...
Reason:
You need to enter the passphrase when running npm run generate
.
Can reproduce it easily. Internal ticket
Issue also reported on the forum.
Workaround:
- edit
package.json
- find field
scripts.generate
- replace
dfx generate <some canister name>
withdfx --identity anonymous generate <some canister name>