You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uncaught node.js Error
ReferenceError: document is not defined
at Loki.getENV (D:\workspace\radium\canvas\node_modules\lokijs\src\lokijs.js:228:15)
at LokiEventEmitter.Loki (D:\workspace\radium\canvas\node_modules\lokijs\src\lokijs.js:237:18)
change source code in file lokijs.js:224 like this will be ok
I am going to change the db constructor so that it takes (among others) the option 'env', so environment can be set explicitly skipping detection. So you would do var db = new loki('myApp', { env: 'NODEJS' })
use node-webkit.
will throw error
change source code in file
lokijs.js:224
like this will be okThe text was updated successfully, but these errors were encountered: