Azle canister deployment error

I have a canister written in azle and I am getting this error when i try to deploy it. What could be the issue?


a

1 Like

@lastmjs to the rescue!

2 Likes

What version of Azle are you using? Seems like it could be a big old. Perhaps try upgrading to the latest version.

Also it would help to post your entire code, as there is probably an obvious issue.

Also try reducing your code to the simplest possible to just get it to deploy, then add on top of that. Basically comment everything out until it works.

Also you should read the debugging section of The Azle Book: Debugging - The Azle Book