W
Wasp-lang•4mo ago
Hridoy

Axios Error

I have been following the wasp tutorial, in the fifth chapter, I am getting this axios error. Can anybody help me to fix this error? Thank you.
No description
5 Replies
martinsos
martinsos•4mo ago
Let's ask our Tutorial expert: @Filip any obvious ideas?
Vinny (@Wasp)
Vinny (@Wasp)•4mo ago
i notice that you're importing an action but don't have an actions file @Hridoy. maybe you could copy and paste the contents of your queries file as a code snippet using backticks `
Filip
Filip•4mo ago
i notice that you're importing an action but don't have an actions file
This shouldn't cause problems, it's our normal workflow: define the operation, and then implement it But yes, @Hridoy, as Vince said, can we see the query file?
Hridoy
Hridoy•4mo ago
This error occured because I accidently deleted the /src/vite-env.d.ts file while i was deleting src/Main.css, src/waspLogo.png, and src/HelloPage.jsx. I just stared the tutorial again and then noticed it. My bad. @Filip @Vinny (@Wasp)
Vinny (@Wasp)
Vinny (@Wasp)•4mo ago
no problem! let us know if you need any more help 🙂