tozd / node-reactive-postgres

Reactive queries for PostgreSQL
https://www.npmjs.com/package/reactive-postgres
BSD 3-Clause "New" or "Revised" License
32 stars 4 forks source link

Manager won't start #18

Closed DPros closed 3 years ago

DPros commented 3 years ago

Manager in my project isn't starting, seemingly because of an outdated "pg": "~7.7.1" dependency. I tried deleting it (reactive-postgres/node_modules/pg), thus making it use the global pg dependency ("pg": "8.5.1") and it finally worked. Is it possible to update pg to a newer version?

DPros commented 3 years ago

meanwhile, if you are using yarn, you can add

"resolutions": {
    "reactive-postgres/pg": "8.7.1"
  }

to you package.json

mitar commented 3 years ago

Interesting. i do not get why would an old dependency stop working. Is it because in your app you are also using another version of the dependency?

mitar commented 3 years ago

I just bumped all the dependencies.