sapmentors / cap-community

SAP CAP Community
MIT License
97 stars 26 forks source link

Mocking of imported services sometimes not working #89

Closed wattnu closed 4 years ago

wattnu commented 4 years ago

Hi CAP-Team, When importing a service definition with cds import and running cds watch, then sometimes mocking for the imported service is not working. Actually, it seems to be an alternating issue. Restarting the watch-server in sequence, let mocking be active/no-active in an alternating way ...

I'm running Windows with:

>> cds -v
@sap/cds: 3.34.2
@sap/cds-compiler: 1.26.2
@sap/cds-dk: 1.8.5
@sap/cds-foss: 1.2.0
@sap/cds-reflect: 2.11.0
@sap/cds-runtime: 1.2.2
Node.js: v12.16.3
home: C:\Users\\AppData\Roaming\npm\node_modules\@sap\cds-dk\node_modules\@sap\cds
prod-cat: 1.0.0
iwonahahn commented 4 years ago

Hi Klaus,

can you please ask this question in SAP Community Q&A for CAP. As mentioned in capire the dev team tracks the mentioned support channels.

Thank you and best regards, Iwona

wattnu commented 4 years ago

https://answers.sap.com/questions/13089537/mocking-of-imported-services-sometimes-not-working.html