DEV Community

Discussion on: Introducing Qwik starters - get up and running with Qwik now

Collapse
 
christiankozalla profile image
Christian Kozalla

When I run a starter (tried Starter and Starter+Partytown) on Windows, I get the following error after visiting localhost:8080

UnhandledPromiseRejectionWarning: Error: Not QRL: prop: on:q-mo
unt; value: async (element, event, url) => {
[1] const isQwikInternalHook = typeof event == 'string';
[1] // isQwikInternalHook && console.log('HOOK', event, element, url);

However, when I run the same starters on WSL (Ubuntu 20.04) then I works fine!

I'd be happy to share more information on how to reproduce the error I encountered, if desired

Collapse
 
lepinekong profile image
lepinekong

I'm also using Windows but didn't try yet : did you solve ?

Collapse
 
christiankozalla profile image
Christian Kozalla

Sadly not, but I just figured that it helps a little bit to change the paths into relative paths on line 10 in vite.config.js -> input: ["./src/main.tsx", "./index.html"],

But there are still errors in npm run build and npm run dev is showing an empty page on localhost...