-
Notifications
You must be signed in to change notification settings - Fork 81
$.hdb.getConnection() undefined #7
Comments
If you have no service matches, then the resources definition in your mta.yaml is most likely incorrect. For the second item you mention tinyjs and createCountry. The TinyWorld tutorial is not part of this project. That's a completely separate tutorial. |
Hi, Thanks for answer! I tried to create a node application from cli and then using xs following this documentation: https://help.sap.com/viewer/4505d0bdaf4948449b7f7379d24d0f0d/2.0.02/en-US/32392948cb1844b2a6ed22ad641d4461.html I have installed node 8.0 in my rhel 7.5 server, now using npm i have installed @sap/xsenv adding a registry from this url: https://npm.sap.com now, when i try to install xsjs i got several issues with make in the package of fibrous and package xsjs could not install... Let me paste what i have: manifest.yamlapplication:
i have created the service using this line:xs create-service hana hdi-shared myhana now, in the start.js
And i always got: "Error no service matches hana" Now, from the tutorial TinyWorld
Once, running tinyjs application, i got "500 Cannot read property 'getConnection' of undefined" Im sorry for asking you non-related issues, but as i said above, i got no answers from anywhere until now. |
I'm sorry but this isn't the appropriate place for your questions. They aren't even related to this project nor are they about a tutorial I created or own. |
Hello everyone,
Im facing several issues trying to follow some of tutorial instructions, the first one im facing is this:
1.- Create a template.
2.- Add a new NodeJS Module.
3.- In file called: server.js there're this lines:
I always got this: "[WARN] : No service matches hana"
Also, i have created this "CreateCountry" function (as tutorial said) in country.xsjs file:
And i got this error running Node Application (tinyjs):
"500 Cannot read property 'getConnection' of undefined"
Can someone please, give me a tip ?
The text was updated successfully, but these errors were encountered: