Can't connect to postgresql
Unanswered
Hunting wasp posted this in #help-forum
Hunting waspOP
So I was trying to connec to to my instance of postgresql, I have installed the postgre library to connect using:
npm postgres, it needed two dependencies
npm tls and npm connections (I think), anyways a couple of dependencies.
But when trying to connect to it, I receive this error:
My node version is the 20
Next version: 14
Not really sure what is the problem.
It seems that this module it's missing but should be one of the nodejs core modules. I also tried to npm perf_hooks but probably installed just a placeholder version, which of course breaks (https://www.npmjs.com/package/perf_hooks )
npm postgres, it needed two dependencies
npm tls and npm connections (I think), anyways a couple of dependencies.
But when trying to connect to it, I receive this error:
./node_modules/postgres/src/connection.js:5:0
Module not found: Can't resolve 'perf_hooks'My node version is the 20
Next version: 14
Not really sure what is the problem.
It seems that this module it's missing but should be one of the nodejs core modules. I also tried to npm perf_hooks but probably installed just a placeholder version, which of course breaks (https://www.npmjs.com/package/perf_hooks )