mariatorrentedev / portfolio

2024 portfolio update
https://www.mariatorrente.com/
0 stars 0 forks source link

Blog: basic express server done. #35

Open mariatorrentedev opened 4 months ago

mariatorrentedev commented 4 months ago

After a couple of issues with the ts-node package due to the node version 21/20 not working properly:

  1. Throwing an unknown file extension .ts
  2. Loggin error node:internal/process/esm_loader:40 internalbinding('errors').triggeruncaughtexception.

I needed to downgrade to node version 20.10.0, and set the ts/package.json config per ts-node documentation.

TODO: add cors, and integrate Prisma ORM.