Skip to content

Conversation

@Ganainmtech
Copy link

Algorand Coding Challenge Submission

What was the bug?

First, as indicated in the instructions, line 8 was commented on. So I took away the comment. I then ran the command algokit bootstrap all, but noticed I needed to update/upgrade a lot of my setup from node.js to algokit itself. After getting lost within updating a lot of my setup I continue to get this error when trying to run the npm run test command:

"Unhandled OSError: [WinError 193] %1 is not a valid Win32 application"

Any advice? As I know this was probably meant to go smoother than this is by just using algokit bootstrap all- Please check the screenshots attached below including the algokit doctor.

How did you fix the bug?

Console Screenshot:

image image

@Ganainmtech
Copy link
Author

Latest doctor - even updated to the latest poetry, did an entire pipx reinstallation

image

@Ganainmtech Ganainmtech changed the title Attempted Bootstrapping Attempted Bootstrapping (finaly got it!) Mar 12, 2024
@Ganainmtech
Copy link
Author

Thanks to some help with the algodevs in the algorand discord I was able to overcome the issue:

I replaced the "generate-client" script on line 6 of package.json with, algokitgen generate -a contracts/artifacts/AlgorandPuzzle2.arc32.json -o contracts/clients/AlgorandPuzzle2Client.ts

I then ran another algokit bootstrap all just to cover everything!

Finally, I did npx npm run test rather than npm run test so I can run it stand-alone.

Here is proof of the test working:

image

@iskysun96 iskysun96 added the Approved ✅ Successfully completed the challenge! label Mar 13, 2024
@iskysun96
Copy link
Contributor

Great job debugging and getting help from algodevs! We are investigating the windows specific issue. Will update when we find out what's wrong!

🎉 Congrats on solving the 2nd Algorand Coding Challenge!

I have labeled your PR approved so you can now claim your certificate.

You can claim your certificate of completion NFT here:
https://goplausible.xyz/claim/f5ctf17aqhhzxxhrjgzye58g5fa07tr9x7q1j595041m2t7drgkx4z87neww65f81ehyvkxd7qp0f21pzg7vpdne0vqrncc7m1bv02g

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Approved ✅ Successfully completed the challenge! LEGENDARY Recognizing the REAL ones 👑

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants