How to update the NodeJS version in application level on SAP Business Application Studio

Hi Team,

I was working on an application in SAP Cloud BAS where the existing application in SAP BAS throws an error while trying to run/execute the application where the error says that the updated Node JS version is unavailable why because BAS was using an older version of NodeJS.for resolving this issue I have updated the NodeJS version in application level by following the below steps.

Error as shown in the below image:

Steps for updating the Node JS Version:

To update the NodeJS version in the existing application, click on the view tab on the toolbar and find the command to get the application information.

Here we can find the open app Info command by searching in the search bar as shown below image:

Once we select the Open App Info command to get the list of applications which are existing in our space. Now we must choose the application we need to update the NodeJS version.

Once we select the application, we get the application Information as shown in the below image:

Here it is showing the existing installed NodeJS version as 1.3.5, click on the below-mentioned URL in order to update the NodeJS version to the latest version.

Sample URL – Run ‘npm install @sap/ux-ui5-tooling@1.7.1 –save-dev in terminal

Click on the URL to see the status of downloading the latest node modules in Application Moduler as shown below image:

Here we can see the DEV space updated Node version by using the below command.

Once the Node Modules are downloaded successfully then it will be shown in the application Stats level (Latest Version node Modules are Installed) as shown in the below screen:

Now we can run the application by clicking on directly in the preview Application tab or we can run it by selecting the preview application option while right click on the application.

Now application is running successfully with the latest node modules as shown in below image:


Finally, we know how to check the node version and update the nodeJS version at the application level in SAP BAS.


Spandana Bollu,