vit icon indicating copy to clipboard operation
vit copied to clipboard

Having an issue with a basic react app

Open alkanna opened this issue 3 years ago • 2 comments

Hello, I tried to reproduce the example at yunsii/vite-react

I end up with these errors and a blank page 😢

CleanShot 2022-07-08 at 22 55 28

My _app.tsx, vite.config.ts and routes.ts are the exact same as shown in yunsii/vite-react

alkanna avatar Jul 08 '22 20:07 alkanna

Thanks for your feedback. Please tell me which branch you use in yunsii/vite-react, and the versions of react and vitjs has changed?

yunsii avatar Jul 09 '22 02:07 yunsii

Moreover, consider provide a reproduce repo?

yunsii avatar Jul 09 '22 02:07 yunsii

The error casued by use-subscription the same major version of ^1.5.1, I fixed it by ~1.5.1 in https://github.com/vitjs/vit/pull/9 so upgrade vitjs/vit & vitjs/runtime to lastest version will fix the error.

yunsii avatar Sep 24 '22 05:09 yunsii