Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: TurtleDB is not a constructor #12

Open
ghost opened this issue Dec 12, 2019 · 0 comments
Open

TypeError: TurtleDB is not a constructor #12

ghost opened this issue Dec 12, 2019 · 0 comments

Comments

@ghost
Copy link

ghost commented Dec 12, 2019

Hello Turtle-DB team,

i do install on first time with
npm i turtledb

then make a file turtledb.js

with code

const TurtleDB = require('turtledb');
const mydb = new TurtleDB('example');

then run it with
node turtledb.js

but showing error

TypeError: TurtleDB is not a constructor

Can you explain to me where is the problem?

Thank You

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants