cns-iu / aisl

Advancing Informal STEM Learning (moved to xMacroscope)
https://github.com/cns-iu/xmacroscope
MIT License
1 stars 0 forks source link

RxDB initialization failure #18

Closed Simpsoah closed 6 years ago

Simpsoah commented 6 years ago

Running the ng dev server results in the following error, preventing the build from finishing.

ERROR in src/app/aisl-backend/shared/rxdb-database.service.ts(46,1): error TS2554: Expected 1 arguments, but got 0.

Temporarily fixed by adding an arbitrary argument to RxDB.QueryChangeDetector.enable();

bherr2 commented 6 years ago

Odd, because enable takes an optional arg: https://github.com/pubkey/rxdb/blob/master/src/query-change-detector.js#L307

Can you attach the output of > npm list? I wonder if its a versioning thing (I'm guessing tsc, but not sure)

bherr2 commented 6 years ago

@Simpsoah can you try pulling from master and doing an npm install?

bherr2 commented 6 years ago

As far as I can tell this is fixed in master. Closing this now, but will re-open if the problem persists.