Skip to Content
0
Jan 17, 2021 at 09:56 AM

Error while creating new MDK CRUD project with SAP BAS

242 Views

While trying to create a new app from SAP BAS and using Mobile Services as oData source, I am getting an error

{"message":"@ext-mdkvsc-npm-rel/mdk:app generator failed - {"message":"Could not update method 'choices' in 'appId' question in generator '@ext-mdkvsc-npm-rel/mdk:app' - evaluateMethod() only absolute urls are supported","stack":"Error: evaluateMethod() only absolute urls are supported\n at /extbin/npm/globals/lib/node_modules/node-fetch/index.js:54:10\n at new Promise (<anonymous>)\n at new Fetch (/extbin/npm/globals/lib/node_modules/node-fetch/index.js:49:9)\n at Fetch (/extbin/npm/globals/lib/node_modules/node-fetch/index.js:37:10)\n at Object.getAppIdList (/extbin/npm/globals/lib/node_modules/@ext-mdkvsc-npm-rel/generator-mdk/generators/app/odata.js:60:10)\n at module.exports.choices (/extbin/npm/globals/lib/node_modules/@ext-mdkvsc-npm-rel/generator-mdk/generators/app/Prompts.js:286:26)\n at y.<anonymous> (/tmp/vscode-unpacked/yeoman-ui-1.1.45.vsix/extension/dist/extension.js:201:137516)\n at Generator.next (<anonymous>)\n at /tmp/vscode-unpacked/yeoman-ui-1.1.45.vsix/extension/dist/extension.js:201:132703\n at new Promise (<anonymous>)\n at r (/tmp/vscode-unpacked/yeoman-ui-1.1.45.vsix/extension/dist/extension.js:201:132448)\n at y.evaluateMethod (/tmp/vscode-unpacked/yeoman-ui-1.1.45.vsix/extension/dist/extension.js:201:137263)\n at i.<anonymous> (/tmp/vscode-unpacked/yeoman-ui-1.1.45.vsix/extension/dist/extension.js:523:3008)\n at Generator.next (<anonymous>)\n at /tmp/vscode-unpacked/yeoman-ui-1.1.45.vsix/extension/dist/extension.js:523:2068\n at new Promise (<anonymous>)"}"}

Does anyone have any idea on how to resolve this?mdk-error.png

Attachments

mdk-error.png (467.6 kB)