Skip to Content

Creating a Business Service with Node.js using Visual Studio Code

Hello

I was not able to create a business service with Node.js using SAP Business Application Studio. Now, I am trying one of the missions/tutorials of doing the same thing but through Visual Studio Code. I have set the NPM registry for sap packages and installed cds development kit globally. I installed vsix for CDS Language Support for Visual Studio Code and created the project named my-bookshop.

error.png (81.5 kB)
Add comment
10|10000 characters needed characters exceeded

2 Answers

  • Best Answer
    Posted on Jun 28 at 01:48 AM

    Hi Aditya,

    Can you execute command in your terminal:

    > cds version

    and paste it here?

    It looks like the problem somehow is coming from your cds-dk installation

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 29 at 08:02 AM

    Looks like a too old Node.js version installed. Make sure to have at least Node.js 10. Check w/ `node -v`. See more here: https://cap.cloud.sap/docs/advanced/troubleshooting#npm-installation

    Add comment
    10|10000 characters needed characters exceeded