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

cloud-cap-samples - deployment to in-memory database. failed

nicorunge
Participant
0 Likes
2,387

Hi,

just cloned the cloud-cap-samples repo and followed the readme steps.

git clone https://github.com/sap-samples/cloud-cap-samples samples
cd samples npm install cds watch bookshop

When running with "cds watch bookshop" it fails with "deployment to in-memory database. failed"

grafik.png

Using a fresh dev space in the Business Application Studio.
Can anyone confirm?

BR, Nico

Accepted Solutions (0)

Answers (2)

Answers (2)

martinstenzig
Contributor

It works for me. This is what my terminal output looks like...

nicorunge
Participant
0 Likes

Hi Martin,

just created another new Dev Space and tested again. Now the in-memory deployment was working fine. But this time it couldn't find the service definitions...

As there are just 4 simple steps, I don't think I did something work. Did you create a new Dev Space or were you using an existing one?

BR
Nico

nicorunge
Participant
0 Likes

When downgrading to cds 6 it is working again. Seems there is some issue in BAS when using cds 7

martinstenzig
Contributor
0 Likes

make sure that your global CDS and the local cds are both on v7.

Check: `npm -g ls` and make sure cds > 7.0

SvenVerbeek
Discoverer
0 Likes

You can check if you have sqlite properly installed and referenced the requirement in de package.json.

https://cap.cloud.sap/docs/guides/databases-sqlite