on 05-01-2023 5:46 PM
Hi,
After the recent BAS issue - https://answers.sap.com/questions/13873164/sap-bas-business-application-studio-debugger-not-w.html, I am not able to use "cds bind" to bind to the services that are listed in the subaccount.
Has anyone also faced the same issue?
Please let me know.
Thank you.
It seems that you're using a quite old @sap/cds version in your application. Please update to a newer version.
If this does not fix the issue, please add the output of the command
cds -v
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You are right. We are using cds 5.1.5. Unfortunately, upgrading to the latest version of cds is not possible because of regression issues with the views design that we have currently.
This cds bind function worked even before and this was never an issue. Do you see any other possible reason?
Regards,
Anshuman
Hi lothar.bender,
We are currently running cds@5.1.5 and cds-dk@4.9.7.
Upgrading to cds-dk@6.7.1 requires cds version to be upgraded as well. But as I already highlighted, we are running into regression issues if the cds version is upgraded.
Also, when we do cds bind, it is trying to fetch the global cds-dk libraries but is not looking for the version defined in the project.
Regards,
Anshuman
Hi lothar.bender,
No, it is not by mistake. Somehow when doing `cds bind` it is calling the global node modules installation where it is installed with the version 6.7.0. I tried to install the global version with `npm i -g @sap/cdsk-dk@4.9.7`, but with no luck.
However, `cds bind` did work now with the command -
`cds bind -2 <service>:<key> -o ./.cdsrc-private.json -p development --kind <service_kind>`.
Although, the purpose behind binding was not solved, but I could just solve the binding issue.
Regards,
Anshuman
User | Count |
---|---|
82 | |
11 | |
10 | |
8 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.