Hi experts,
I try to follow DJ Adams (qmacro) blog posts (https://blogs.sap.com/2019/03/06/annotated-links-episode-2-of-hands-on-sap-dev-with-qmacro/), which is quite cool. But I got a problem, and I don't know how to solve it.
I created a new project using cds init. After that I open my project in vscode and created a new cds as mentioned in the tutorial (cat-service.cds) and start to adding my first line of coding:
using { Country, managed } from '@sap/cds/common';
But no I got an error (Artifact "managed" has not been found).
So I went to node_modules/@sap/cds/common.cds. But this looks complete different that tis one which used in tutorial and the next problem, it contains many syntax errors
for example:
- no artifact with name CodeList
- all aspects are marked red with this error message
Extraneous '{', expecting '@', ABSTRACT, ACTION, ANNOTATE, ANNOTATION, CONST, CONTEXT, DEFINE, ENTITY, EXTEND, FUNCTION, SERVICE, TABLE, TEMPORARY, TYPE, VIEW
I'm really new on this development, so honestly, I have no idea, what is wrong. Maybe someone can help me. Would be great, because I really like to go forward with CAPM.