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 got to this step, the wasp server stopped hosting the page due to a compilation error because type declarations can only be used in TypeScript files. Removing the type as shown below allowed me to proceed.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi all,
I'm working through the Wasp "TodoApp" tutorial, and reached an error that prevented me from moving forward on this page: https://wasp-lang.dev/docs/tutorials/todo-app/04-creating-tasks
Under the "Invoking the Action on the Frontend" section, there is a try/catch within the handleSubmit function that reads as follows:
When I got to this step, the wasp server stopped hosting the page due to a compilation error because type declarations can only be used in TypeScript files. Removing the type as shown below allowed me to proceed.
Hope this helps!
Beta Was this translation helpful? Give feedback.
All reactions