evoluhq / evolu

A local-first platform designed for privacy, ease of use, and no vendor lock-in
https://evolu.dev
MIT License
1.27k stars 42 forks source link

Unable to get evolu web working with SolidStart #444

Open ibb2 opened 2 months ago

ibb2 commented 2 months ago

Hi again, I have been trying to get Evolu implemented in my Solid js application, however have been unsucessful. So I have created a minimal test repo. With Evolu installed and the example from the docs implemented I keep getting the following error:

[plugin:solid] /Users/ibrahim/Developer/Test/solid-project-evolu/node_modules/.vinxi/client/deps/chunk-VKMYUPOW.js: 

Unexpected token, expected "=>" (11799:10)
  11802 | });

I have added @evolu/common-web to vite.config.ts however I am still unable to get the project to run.

Test repo https://github.com/ibb2/solid-project-evolu

steida commented 2 months ago

Thank you for reporting that. Did you try to take a look at the Evolu example Vite config? Or what has been changed recently? I'm in the middle of implementing much faster and more scalable sync, with zero time to play with Vite configuration.

ibb2 commented 2 months ago

Yeah I've looked at the vite example, the code looks similar to mine so I'm not sure what Im doing wrong. And I'm not sure what you mean by

Or what has been changed recently

I started the project maybe a week ago and made the test repo around when I made this issue, so there hasn't been any releases since then.