cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

cds deploy --to sqlite throws [ERR_INVALID_ARG_TYPE]

0 Likes
230

Hi cds team,

Could you have look into below issue?

When I run "cds deploy --to sqlite:service/src/test/resources/sqlite.db --no-save" it throws INTERNAL ERROR] TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received an instance of Array

I need two locations for "db" as an array. Does this mean it is invalid?

"cds": {<br>  "features": {<br>    "snapi": true<br>  },<br>  "hana": {<br>    "deploy-format": "hdbtable"<br>  },<br>  "odata": {<br>    "version": "v4"<br>  },<br>  "folders": {<br>    "db": ["service/template/lbn-sac-etl-modeling/cds/analyticsGttIntegration/", "service/template/lbn-sac-etl-modeling/cds/manageAnalyticModels/"],<br>    "srv": "service/"<br>  }<br>  <br>

}

Accepted Solutions (0)

Answers (0)