Jump to content

Help kaavali


Fish

Recommended Posts

3 minutes ago, Fish said:

The issue was happening when trying to install npm package 

firs...check do you have duplicates strict-ssl falg in config...as mentioned here...

44 minutes ago, dasari4kntr said:

 

npm config ls -l

ee command execute chese...any duplicate stric-ssl vunnyemo choodu...

sometimes..there will be multiple keys with same name...

 

if there is multiple keys...check the comments next to the keys...if there is no comment delete it...and maintain only only one flag...that is false...

next execute the below command as "export NODE_TLS_UNAUTHORIZED=0

3 minutes ago, movies_fan said:

If you want to fix in local for debugging, add NODE_TLS_UNAUTHORIZED=0 in env variable

 

next...set the strict-ssl flag as mentioned below..

1 hour ago, ramudu said:

delete ssl flag from  .npmrc and try run this again and see 

npm config set strict-ssl false

 

if that doesn't work , download cert file from npmjs and use set ca to that certificate path , before that if you are beyond corporate ***** , use your network id and password 

 

Link to comment
Share on other sites

Thankyou all for the suggestions and really appreciate the quick responses

issue was resolved by upgrading node version to latest one  and also deleting strict SSL & reconfiguring

Link to comment
Share on other sites

1 minute ago, dasari4kntr said:

firs...check do you have duplicates strict-ssl falg in config...as mentioned here...

next execute the below command as "export NODE_TLS_UNAUTHORIZED=0

 

next...set the strict-ssl flag as mentioned below..

 

Thankyou so much andi…..Yes there were duplicates, so removed all of them and reconfigured 

  • Upvote 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...