Upgrade to latest npm for node security advisories

Open command prompt check the version of npm by passing following command "npm version -v"

check npm version - npm version -v
check npm version
  • Upgrade npm to latest by passing following command "npm i npm@latest -g"
Upgrade npm - npm i npm@latest -g
Upgrade npm to latest
Upgrading to latest npm In-Progress

npm upgraded successully
Upgraded successful
  • Check the latest version of npm by passing command same command which we passed earlier "npm version -v"
npm version upgraded
Version Upgraded

No comments:

Post a Comment

How to Build a Modern SPFx Web Part with Microsoft Dataverse CRUD Operations

When building internal applications on Microsoft 365, SharePoint Lists are often the default storage layer. However, once you need relationa...