I had this issue using Vuejs 3 in a vite app.
this assumes the correct imports were made on the index.html file from the windy.com docs
For me, the issue was solved by adding "allowJs" into my tsconfig compileroptions (all other files are .ts files).
then, in the .vue file, i used the export default syntax instead of the script setup syntax as follows: