Closed gaboesquivel closed 5 years ago
This issue is caused by using different version of pg-promise
. QueryFile
class from different version of pg-promise
are incompatible. (vitaly-t/pg-promise#393)
demux-postgres
depends on massive@5.7.2
and pg-promise@8.5.3
, but demux-eos
depends on massive@^5.7.5
, so installed massive
on root of node_modules and massive
on which demux-postgres
depends will be different:
├┬massive@5.7.7
│└─pg-promise@8.5.6
├┬demux-postgres@4.0.1
│└┬massive@5.7.2
│ └─pg-promise@8.5.3
I think it would be better to make the dependent version of massive
identical on both demux-eos
and demux-postgres
packages.
Issue resolved by #69
@flux627 closing my own issue as it's a duplicate of this one. I've changed the demux packages to all use edge, which I believe contains your #69 fix.
However, massive
is coming back as undefined
when I attempt to import it.
I can definitely see the export in the dist
Just to add a bit more, if I install massive@5.11.0
, which is the version demux-postgre
from the develop branch is using, I still get the cyanaudit problem mentioned by @gaboesquivel when using const massive = require("massive")
I had to remove default
because there is not default property on massive_1
@flux627 I'm still having issues with the latest version.
It seems there might be a problem with the cyanaudit migration.
First tried 4.0.1, now I'm using master with npm link with console.log to debug
rel #65