harshmangalam / reactplay-dec-2023-meetup

Build a resumable web app using Qwikcity
0 stars 0 forks source link

I tried. #1

Open findborg opened 10 months ago

findborg commented 10 months ago

I tried to play with this. However, I can not get it to install.

harshmangalam commented 10 months ago

can you share some more error details that you are getting ? Have you added env variable in .env file

TURSO_AUTH_TOKEN=""
TURSO_DATABASE_URL=""
findborg commented 10 months ago

Well, normally I can download the zip of the file unzip into a directory and npm install to get everything running. This did not work for me so I installed prisma and tried again. I just tried one more time. Here is are the errors:

C:\wamp\www\frames\contacts>npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: my-qwik-empty-starter@undefined
npm ERR! Found: @libsql/client@0.4.0-pre.5
npm ERR! node_modules/@libsql/client
npm ERR!   @libsql/client@"0.4.0-pre.5" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @libsql/client@"^0.3.5" from @prisma/adapter-libsql@5.7.1
npm ERR! node_modules/@prisma/adapter-libsql
npm ERR!   @prisma/adapter-libsql@"^5.7.0" from the root project
npm ERR!
findborg commented 10 months ago

I really want to learn how this works with the database. Hope you can direct me in the right direction

harshmangalam commented 10 months ago

This project is configured using pnpm try to install using pnpm i this will fix your issues.