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

[ERROR] No .cds models found, please specify one as an argument #100

Open
ahmedkhan29789 opened this issue Dec 13, 2021 · 2 comments
Open

Comments

@ahmedkhan29789
Copy link

ahmedkhan29789 commented Dec 13, 2021

Hello Experts, I am trying to create a SAP CAPM project and trying to deploy the cds artifact.

I am getting this error "[ERROR] No .cds models found, please specify one as an argument" when trying to run cds deploy --to sqlite, I also tried unset NODE_PATH still it didn't work.

I also tried giving full path of cds file still same error
cds deploy --to sqlite:db/src/tables/promotions.cds

Kindly provide any suggestion

user: sap-ibp-promotions $ cds deploy --to sqlite
[ERROR] No .cds models found, please specify one as an argument

user: sap-ibp-promotions $ unset node_path
user: sap-ibp-promotions $ cds deploy --to sqlite:db/src/tables/promotions.cds
[ERROR] No .cds models found, please specify one as an argument

user: sap-ibp-promotions $ cds deploy --to sqlite:db
[ERROR] No .cds models found, please specify one as an argument

@shivamkrsingh
Copy link

shivamkrsingh commented Feb 19, 2024

image

in my case i was getting this error when i was not in direct directory where my db folder is available .
once you are in directory where db folder is available this issue wont come
@qmacro thanks for your contributions

@sabarna17
Copy link

I also get the same error.

image

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

3 participants