Skip to Content
0
Jan 24 at 09:57 PM

[ERROR] ENTITY_ALREADY_EXISTS in the sample of "bookshop"

185 Views

[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?