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
In the docs and the example, the way to include GoblinDB is
varGDB=require("./goblin");
But if yoy have installed goblin from npm (npm install goblindb) instead of cloning the github repo, this will throw an error. The right way to add it is with:
varGDB=require("./node_modules/goblindb/goblin");
I am sure that there is no difficult to export it as a common npm module, to instanciate it as easy as
varGDB=require("goblindb");
But I have not done any research about it. For now, this is just an easy solution until we found the answer.
The text was updated successfully, but these errors were encountered:
In the docs and the example, the way to include GoblinDB is
But if yoy have installed goblin from npm (
npm install goblindb
) instead of cloning the github repo, this will throw an error. The right way to add it is with:I am sure that there is no difficult to export it as a common npm module, to instanciate it as easy as
But I have not done any research about it. For now, this is just an easy solution until we found the answer.
The text was updated successfully, but these errors were encountered: