Know your SharePoint Framework (SPFx) version

Hi Friends,

Most of the time when we are working on the SharePoint Framework or SPFx solutions, the version of each component can create issues while building the solutions. One of the common issues is with the SPFx version.



SPFx version is the version of the SharePoint Framework yeomen generator installed on your machine. With the difference in the version, a solution might differ in the import versions of other libraries, change in solution scaffolding, and more...

➡️Steps to know your SPFx version
  1. Open the console 
  2. Type in the following command npm ls -g --depth=0 @microsoft/generator-sharepoint
  3. Hit enter and wait for a few seconds.
  4. You'll get the response 

Know your SPFx version


Happy Coding
#Microsoft #SharePoint #SharePointWidgets

Comments

Popular posts from this blog

Rename Folder using Microsoft Flow / Power Automate in a Document Library in SharePoint Online

Power Automate: How to Add "New Line" to the text in SharePoint multiline text field

Power Automate: Rename file in SharePoint Online