S is Not Async Iterable

Hello, I just started using deno and I don't understand what's wrong with my code. I'm trying to make a simple program but it gives me an error can someone help?
No description
No description
4 Replies
2saturdayscode
2saturdayscode4mo ago
First of all serve returns Promise<void> so I dont know why do you expect it to work second a copy paste of the code would have been better than pictures, just open discord from the broswer
2saturdayscode
2saturdayscode4mo ago
third all the @std packages are on jsr now so don't use deno.land https://jsr.io/@std
@std - JSR
@std on JSR
siriustherecklessking
So what is better to use than serve?

Did you find this page helpful?