pubkey / rxdb

A fast, local first, reactive Database for JavaScript Applications https://rxdb.info/
https://rxdb.info/
Apache License 2.0
21.12k stars 1.03k forks source link

6.0.0 core is not defined #296

Closed gvuyk closed 6 years ago

gvuyk commented 6 years ago

Case

Bug

Issue

ReferenceError: core is not defined
    at Object.<anonymous> (D:\projects\test\node_modules\rxdb\dist\lib\plugins\adapter-check.js:119:11

Info

Code

$ npm install rxdb var RxDB = require("rxdb");

pubkey commented 6 years ago

Could reproduce. Something is wrong here :(

EDIT: adapter-check.js defines an export core but core is not defined.

export default {
    rxdb,
    prototypes,
    overwritable,
    core
};
natew commented 6 years ago

I see this as well on master actually, weirdly. I just go delete that core line and it works.

natew commented 6 years ago

Just saw 6.0.1, checking

tortilaman commented 6 years ago

Was just about to report this. Great to see it resolved so quickly.