I'm trying to connect to demodb at first time, using the example. I'm using Angular, so I installed @types/orientjs and orientjs (with no errors). Following is in the AppComponent.
It fails with the message in the header.
I searched a bit and found this code. Tried it, the same error. Both console.logs output some objects, but at database.select call it fails:
I'm just learning client-server DBs, I have only an experience of embedded SQLite, so I can make stupid mistakes. Should I also install OrientDB from the official site to use this driver? Or do something besides the code above (this is the only code related to Orientjs in my project)?
I'm trying to connect to demodb at first time, using the example. I'm using Angular, so I installed @types/orientjs and orientjs (with no errors). Following is in the AppComponent.
It fails with the message in the header. I searched a bit and found this code. Tried it, the same error. Both console.logs output some objects, but at database.select call it fails:
I'm just learning client-server DBs, I have only an experience of embedded SQLite, so I can make stupid mistakes. Should I also install OrientDB from the official site to use this driver? Or do something besides the code above (this is the only code related to Orientjs in my project)?