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

A Guide to Integrating ChatGPT into Microsoft Teams and SharePoint Online Without Premium Connectors Using SharePoint Framework SPFX Webpart - Part 2

We will now establish a SharePoint development environment to create an SPFX Webpart that incorporates ChatGPT. To establish a SharePoint de...