dfinity / sdk

IC SDK: a Software Development Kit for creating and managing canister smart contracts on the ICP blockchain.

Home Page:https://internetcomputer.org/developers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`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> with dfx --identity anonymous generate <some canister name>