sdk
sdk copied to clipboard
dfx generate missing type declarations
I tried the following:
- run
dfx generatein a virgin project after runningdfx deploy
I expected to see this happen: the command should output all files generated
Instead, this happened: the command only outputs the generation of the following files
❯ dfx generate
Building canisters before generate for Motoko
Shrink WASM module size.
Generating type declarations for canister my_test_frontend:
src/declarations/my_test_frontend/my_test_frontend.did.d.ts
src/declarations/my_test_frontend/my_test_frontend.did.js
src/declarations/my_test_frontend/my_test_frontend.did
Generating type declarations for canister my_test_backend:
src/declarations/my_test_backend/my_test_backend.did.d.ts
src/declarations/my_test_backend/my_test_backend.did.js
src/declarations/my_test_backend/my_test_backend.did
but those files are present after runnning dfx generate
❯ ls src/declarations/my_test_backend
index.d.ts my_test_backend.did my_test_backend.did.js
index.js my_test_backend.did.d.ts
Meta
dfx --version:
<version>
Further log output
<log output>
Thanks for reporting! Will be tracked internally as SDK-886