Jump to content

npm upper-case error


Azimut

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

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

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...