cancel
Showing results for 
Search instead for 
Did you mean: 

SAP HANA EXPRESS 2.0 SPS 05: Node.js Development Error: @sap/xssec@^3.2.7.

SekhuteTK
Participant

Greeting,

The below explains the error encountered when compiling the SRV module which contains pure node.js modules using the express framework:

Error: npm ERR! notarget No matching version found for @sap/xssec@^3.2.7.

Figure 1:Node.js Error


npm list:

Figure 2:Powershell View

Hello World App:

The application is hosted on my local machine, using the SAP HANA EXPRESS 2.0 SPS 05 VM Ware

Figure 3: Webide


Package.js of the Hello World App:

package.txt

Start up script:

server.txt

To the SAP community at large, Please share some light on how to resolve the above mentioned.

Yours Truly,



View Entire Topic
kirill-gomenyuk
Discoverer

Hello

I had the same issue. Check one parameter of di-local-npm-registry application in XS advanced cockpit under HANAExpress->SAP->Applications. Click on this application and switch to user-provided variables page.

Change SAPUPSTREAM_LINK to https://registry.npmjs.org/ and then restart the application.

Now the problem should go away.

BR