I am getting an error when I use ‘cds add’ in the cds command line locally on a Windows machine in a PowerShell terminal. Somehow the command line does not recognize the comma in the add command.

PS C:_projectsexample-2021> cds add hana,mta
[init] - adding feature(s) to project in current folder
[ERROR] feature 'hanamta' not found. Cannot find module './template/hanamta'
Require stack:

I know the easy work around is to add artifacts one at a time, just wanted to see if anybody else had noticed it.

 

2 comments

2 hours ago

Hi,
Thanks for reporting.

Would it work if you put the arguments in quotes

cds add "hana,mta"

or if you escape it

cds add hana`,mta

? (I don’t have a Windows PC, so I cannot reproduce it)

Best regards,
David

Madiha marwan

M.marwan

Author Since: September 11, 2021

0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x