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

NPM Install fails in VS Code while developing CAP application

maich97
Explorer
0 Likes
1,401

Tutorials: https://developers.sap.com/tutorials/btp-app-create-cap-application.html
--------------------------

Dear Experts and iwona.hahn manjunath_ks

I am trying to develop a CAP application by following the above tutorial. I have already completed the prerequisite for the tutorial. I have installed SQLite as well.

In Step 1 - Create and initialize the project, when I am performing instruction 7 - npm install in VS Code, I am getting below error.

npm-install-error.png

Also I am attaching the detailed NPM error log for your reference.

npm-install-debug-error-log.txt

Could you please help me fixing the error.

Thanks,

Mainak

View Entire Topic
chgeo
Product and Topic Expert
Product and Topic Expert

The issue seems to be the unable to get local issuer certificate error, for which there can be many causes (like a corporate proxy being in the way). I suggest to check out e.g. the Stack Overflow post on this.

maich97
Explorer
0 Likes

Hello Christian,

Thanks so much, I could able to solve the problem for temporarily executing the below command in VS Code terminal.

export NODE_TLS_REJECT_UNAUTHORIZED=0

Thanks,
Mainak