I used vite to bootstrap my react project and now I want to build and I am getting a lot of errors from appwrite causing the build to stop.
Upon going to appwrite in my node_modules, I get error from vscode too.
The appwrite client version I'm using is 13.0.0.
Would I need to downgrade my appwrite version? If yes, to what version.
I will drop some of the errors I got when building in the chat.
The errors are still a lot
weeeird. it worked fine for me running:
npm create vite@latest
# change into folder
npm i appwrite
npm run dev
I also tried with these options and it built fine:
✔ Select a framework: › React
✔ Select a variant: › TypeScript + SWC
Strangee, then why isn't it working on my end?!
does restarting your IDE change anything?
Sorry for the late reply. No, restarting my IDE did not help.
I tried creating a new project and building after installing appwrite and it built. The errors i saw in the node_modules are still there too but it is not stopping the build
I have eslint installed in my project and i dont have it installed in the sample project. Could that be why?
Is it an old version? Maybe there's some conflicting setting?
Recommended threads
- Switched a project to a different organi...
I recently switched my project to another organization but all the Data I had in Form of Buckets, Databases, Keys, Users, etc. aren't being shown. However I can...
- Fixing OAuth2 authentication issue
I am using React-Router and Vite to implement google auth , I have setup my Google CLient ID and the consent forms comes , But after I have signed up with Googl...
- Is there migration script generation lik...
Having standards migration script is helpful. For example something like same script to apply for multiple DB - each DB for one tenant