Jump to content
Sign in to follow this  
Azimut

npm upper-case error

Recommended Posts

Hi a have problem with instalation upper-case module at Node. I follow  the example https://www.w3schools.com/nodejs/nodejs_npm.asp but I got error:

I:\www\node>npm install upper-case
npm ERR! code SELF_SIGNED_CERT_IN_CHAIN
npm ERR! errno SELF_SIGNED_CERT_IN_CHAIN
npm ERR! request to https://registry.npmjs.org/upper-case failed, reason: self signed certificate in certificate chain

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\jv233753\AppData\Roaming\npm-cache\_logs\2020-06-18T09_57_13_316Z-debug.log

What did I do wrong? THX

Share this post


Link to post
Share on other sites

Hello,@Azimut

Please try this code,To 

Installation
 

npm install upper-case --save 

Usage

import { upperCase, localeUpperCase } from "upper-case";
 
upperCase("string"); //=> "STRING"
 
localeUpperCase("string", "tr"); //=> "STRİNG"

 

I hope this information will be useful .

Thank you.

 

Share this post


Link to post
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.

Loading...
Sign in to follow this  

×
×
  • Create New...