I assume that this is the problem you guys are running into: `dfx deploy` halts when running `npm run generate` using a protected identity · Issue #2872 · dfinity/sdk · GitHub
Looks like my comment above was wrong:
It should be The build step SHOULD not access your identity in any way
.
Workaround that I can offer right now, which I figured out because of @nolyoi’s suggestion to remove the prebuild step:
- edit
package.json
- find field
scripts.generate
- replace
dfx generate <some canister name>
withdfx --identity anonymous generate <some canister name>
This will use the anonymous identity for the build step, (which is available to anyone and not protected by a password) and therefore will not hang the process.