You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I call the function from PlugKeyRing. I got this error.
Deploying all canisters.
All canisters have already been created.
Building canisters...
Executing 'npx azle demo_backend'
Building canister demo_backend
💣 TypeScript error: Could not resolve "events"
node_modules/@psychedelic/cap-js/dist/kyasshu/index.js:7:25
6|
7| const events_1 = require("events");
8| ^
💀 Build failed
Building frontend...
WARN: Generating type declarations for canister demo_frontend:
/private/var/xcodeserver/Documents/developer_journey/demo/src/declarations/demo_frontend/demo_frontend.did.d.ts
/private/var/xcodeserver/Documents/developer_journey/demo/src/declarations/demo_frontend/demo_frontend.did.js
/private/var/xcodeserver/Documents/developer_journey/demo/src/declarations/demo_frontend/demo_frontend.did
Generating type declarations for canister demo_backend:
/private/var/xcodeserver/Documents/developer_journey/demo/src/declarations/demo_backend/demo_backend.did.d.ts
/private/var/xcodeserver/Documents/developer_journey/demo/src/declarations/demo_backend/demo_backend.did.js
/private/var/xcodeserver/Documents/developer_journey/demo/src/declarations/demo_backend/demo_backend.did
Error: Failed while trying to deploy canisters.
Caused by: Failed while trying to deploy canisters.
Failed to build all canisters.
Failed while trying to build all canisters.
The build step failed for canister 'br5f7-7uaaa-aaaaa-qaaca-cai' (demo_backend) with an embedded error: Failed to build custom canister demo_backend.: Failed to run npx azle demo_backend.: The custom tool failed.
There are several dependencies require like events, assert, crypto ...
Why does this happen
The text was updated successfully, but these errors were encountered:
When I call the function from PlugKeyRing. I got this error.
There are several dependencies require like events, assert, crypto ...
Why does this happen
The text was updated successfully, but these errors were encountered: