GDSC-ASU / website

GDSC - ASU Website
https://gdscasu.com
2 stars 4 forks source link

Implement project schema and api #22

Closed Dimah02 closed 7 months ago

Dimah02 commented 7 months ago

I updated the names of the functions in the components, but I couldn't resolve the issue on my local repo this still occurs when npm run dev

TypeError: Cannot read properties of undefined (reading 'define')
    at C:/Users/deema/Desktop/svelt/website/src/lib/data/Event.ts:4:32

and I noticed that the name of the database file in the data folder is gdsc.db but in the .env.example is gdscasu.db, is that ok?

mbaraa commented 7 months ago

I updated the names of the functions in the components, but I couldn't resolve the issue on my local repo this still occurs when npm run dev

TypeError: Cannot read properties of undefined (reading 'define')
    at C:/Users/deema/Desktop/svelt/website/src/lib/data/Event.ts:4:32

and I noticed that the name of the database file in the data folder is gdsc.db but in the .env.example is gdscasu.db, is that ok?

looks like it's a TS import conflict issue, I'll merge your PR and I'll fix this in another PR.