-
-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pg Dependency missing #55
Comments
Hey Lukas. As you already pointed out, the dependency is not missing, it's a peer dependency. The reason behind it is that you shall be able to use the |
It might make sense to change the readme, though: - npm install pg-listen
+ npm install pg pg-listen What do you think? |
Hey Andy, |
Is it really that any version of pg-listen works with any version of pg? |
While setting up an empty project with pg-listen to do some testing I ran into an issue.
After installing pg listen via
npm i pg-listen
and starting a script withimport createSubscriber from "pg-listen"
, node throws the folloing error:After installing the package "pg" manually, the script started successfully.
Having a look into the package.json of pg-listen, "pg" only appears as peerDependency and devDependency.
The text was updated successfully, but these errors were encountered: