arielweinberger / nestjs-recipe

NestJS Best Practices Recipe
MIT License
826 stars 437 forks source link

Updating dependencies #16

Open kluplau opened 3 years ago

kluplau commented 3 years ago

Hi,

Thank you for a good tutorial!

I went though the tutorial a year ago, and came back to it just now.

The dependencies are outdated and you can't start the application with the latest NPM/Node version.

jsoques commented 3 years ago

I just cloned this repo did an npm i I was lazy to start a new Postgres instance so I used sqlite (better-sqlite3) npm i better-sqlite3 and replaced 'postgres' for 'better-sqlite3' in the default.yml fired up npm run start:dev and it started without problems. Tested the following endpoints: http://localhost:3000/auth/signup http://localhost:3000/auth/signin and http://localhost:3000/tasks and everything seems to work fine. Certainly a lot of npm libraries are out of date, this repo is 2 years old. But it runs. With a nest update / npm update npm libs can be updated. What errors do you get?