Closed rupalimishra-v2 closed 6 months ago
Without a --plugin flag it works fine, I tried installing the plugin using - npm install @graphile/pg-pubsub, still same error.
If you need plugins, you should build your own Docker container, e.g. https://www.graphile.org/postgraphile/running-postgraphile-in-docker/#create-postgraphile-dockerfile
sudo docker run -p 5200:5200 graphile/postgraphile --plugins @graphile/pg-pubsub --connection postgres::@rds-instance.testinstance.ap-south-1.rds.amazonaws.com:5432/db --enhance-graphiql --schema public --cors --disable-default-mutations --jwt-token-identifier public.jwt_token --jwt-secret --default-role no_access_role --show-error-stack --dynamic-json --body-size-limit 1MB --subscriptions
node:internal/modules/cjs/loader:998 throw err; ^
Error: Cannot find module '@graphile/pg-pubsub' Require stack: