3 weeks ago
I have been following the SAP MDK Documentations. I am stuck at the annotations (intermediate) level. When creating annotation i get the following error in BTP IDE.
"Command failed: yo @ext-mdkvsc-npm-rel/mdk:newEntity --data "/tmp/.mdk_anno_config.json" --force ✖ An error occured while running @ext-mdkvsc-npm-rel/mdk:newEntity#writing Error @ext-mdkvsc-npm-rel/mdk:newEntity --data /tmp/.mdk_anno_config.json --force When copying multiple files, provide a directory as destination TypeError [ERR_INVALID_ARG_TYPE]: The "code" argument must be of type number. Received type string ('ERR_ASSERTION') at process.set [as exitCode] (node:internal/bootstrap/node:123:9) at process.exit (node:internal/process/per_thread:182:24) at onError (/managed-content/globals/pnpm/5/.pnpm/yo@4.3.1_mem-fs@2.3.0/node_modules/yo/lib/cli.js:117:11) at /managed-content/globals/pnpm/5/.pnpm/yo@4.3.1_mem-fs@2.3.0/node_modules/yo/lib/cli.js:165:48"
If i try to create a new entity using npm i get :
✖ An error occured while running @ext-mdkvsc-npm-rel/mdk:newEntity#writing
Error @ext-mdkvsc-npm-rel/mdk:newEntity --data /tmp/.mdk_anno_config.json --force
When copying multiple files, provide a directory as destination
TypeError [ERR_INVALID_ARG_TYPE]: The "code" argument must be of type number. Received type string ('ERR_ASSERTION')
at process.set [as exitCode] (node:internal/bootstrap/node:123:9)
at process.exit (node:internal/process/per_thread:182:24)
at onError (/managed-content/globals/pnpm/5/.pnpm/yo@4.3.1_mem-fs@2.3.0/node_modules/yo/lib/cli.js:117:11)
at /managed-content/globals/pnpm/5/.pnpm/yo@4.3.1_mem-fs@2.3.0/node_modules/yo/lib/cli.js:165:48
Any suggestions would he really helpful since i am new to SAP.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
66 | |
10 | |
10 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.