k5o5
BABetter Auth
•Created by k5o5 on 2/26/2025 in #help
Trying to get up and running with an Express app, but running into an error when `npm run start`
Just solved the issue. Was using express 4 but express types 5, and apparently they are not compatible
18 replies
BABetter Auth
•Created by k5o5 on 2/26/2025 in #help
Trying to get up and running with an Express app, but running into an error when `npm run start`

18 replies
BABetter Auth
•Created by k5o5 on 2/26/2025 in #help
Trying to get up and running with an Express app, but running into an error when `npm run start`
@j_slno hello, I changed to modules, and I'm still getting the same errors
tsconfig:
And in package.json I have
"type": "module",
18 replies
BABetter Auth
•Created by k5o5 on 2/26/2025 in #help
Trying to get up and running with an Express app, but running into an error when `npm run start`
For a bit more context, I followed the instructions for setting up better auth from here
https://www.better-auth.com/docs/installation
And the instructions for node+express+ts from here:
https://www.digitalocean.com/community/tutorials/setting-up-a-node-project-with-typescript
18 replies
BABetter Auth
•Created by k5o5 on 2/26/2025 in #help
Trying to get up and running with an Express app, but running into an error when `npm run start`
Thanks for your patience. Unfortunately, still no luck
18 replies
BABetter Auth
•Created by k5o5 on 2/26/2025 in #help
Trying to get up and running with an Express app, but running into an error when `npm run start`
Excuse me, but how exactly do I do that? Sort of new to Express and TS
18 replies
BABetter Auth
•Created by k5o5 on 2/26/2025 in #help
Trying to get up and running with an Express app, but running into an error when `npm run start`
No luck there. Here's my tsconfig
18 replies