cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

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

Former Member
0 Likes
669

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.

Accepted Solutions (1)

Accepted Solutions (1)

jhodel18
Active Contributor

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

Former Member
0 Likes

Hi Jhodel Cailen

Ok ,I executed the comm

and and the result is shown below

jhodel18
Active Contributor
0 Likes

Hi Adithya,

Apparently your node version is quite old (just like christian georgi mentioned). I'm using Node.js version 10. Try upgrading your nodejs and see if it solves your issue.

Answers (1)

Answers (1)

chgeo
Product and Topic Expert
Product and Topic Expert

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

Former Member
0 Likes

Hi Christian Georgi

Thanks for sharing the document