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

[ERROR] ENTITY_ALREADY_EXISTS in the sample of "bookshop"

xionghe
Advisor
Advisor
0 Kudos
743
[cds] - connect using bindings from: { registry: '~/.cds-services.json' }
[cds] - connect to db > sqlite { url: ':memory:' }
> init from db\init.js
> init from db\data\sap.capire.bookshop-Authors.csv
> init from db\data\sap.capire.bookshop-Books.csv
> init from db\data\sap.capire.bookshop-Books_texts.csv
> init from db\data\sap.capire.bookshop-Genres.csv
> init from db\init.js
> init from db\data\sap.capire.bookshop-Authors.csv

[ERROR] ENTITY_ALREADY_EXISTS

When I cloned the sample of:

https://github.com/sap-samples/cloud-cap-samples
Go to the subdir of bookshop, cds watch, it will pop up the above error. (I've prepared all the prerequisite in advance)
Could anybody help?

Accepted Solutions (0)

Answers (1)

Answers (1)

chgeo
Product and Topic Expert
Product and Topic Expert
0 Kudos

This is a known issue on Windows.

Workaround is to cd into the folder with the ExActPathCaSe, e.g. `cd bookshop` instead of `cd Bookshop`. Check your terminal prompt for the correct path.

deepak_h3
Participant
0 Kudos
Can you elaborate on workaround - facing same issue in windows/vscode setup ?