Pages

Showing posts with label SPFx Extension. Show all posts
Showing posts with label SPFx Extension. Show all posts

Tuesday, November 1, 2022

Warnings messages lead to fail the SharePoint Framework build process

Problem Background

I was trying to build a SPFx solution using the command gulp bundle --ship.
I was getting lot of warning and the build is getting failed. Image attached below.



Solution
Instruct the gulp to ignore the warnings when building the solution. 
For that you have to add build.addSuppression(/Warning/gi);in gulpfile.js









Tuesday, December 7, 2021

SPFx Interview Questions and Answers - 01


What are isolated webparts?
How can you make a existing webpart as isloated webpart? 
How can we create site collection level app catalog? 

Sunday, February 24, 2019

Your dev environment is running NodeJS version v10.15.1 which does not meet the requirements for running this tool.

Problem

“Your dev environment is running NodeJS version v10.15.1 which does not meet the requirements for running this tool. This tool requires a version of NodeJS that matches >=8.9.4 <9.0.0”

when I try to do a gulp serve during my SPFx extension development.

Solution

Please follow the below url and additionally you may need to run

npm rebuild node-sass

as well.

https://o365insights.com/downgrade-npm-for-spfx-1.7.0/