As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [yeoman-generator]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
2 answers
8k views

npm install outputs an error: npm ERR! Cannot read property 'pickAlgorithm' of null

As instructed within the Setting up your development environment guidance material. https://docs.microsoft.com/en-us/sharepoint/dev/spfx/set-up-your-development-environment I've installed yeoman: npm ...
Sideburnt's user avatar
1 vote
1 answer
139 views

Configuring Dev environment for SP2016,SP2019 on prem and M365

I have several clients who are needing to migrate from SP2016 to SP2019 over the next 2 months. We will be setting up a hybrid environment for these clients where Intranet & Extranet requirements ...
Sean Achim's user avatar
1 vote
2 answers
2k views

SPFX 1.12 gulp serve-deprecated alternative

Recenlty i decided to update the spfx libs of my webparts project to the v1.12.1 I have followed the steps indicated in the official Microsoft documentation: https://docs.microsoft.com/es-es/...
Daniel Heras's user avatar
5 votes
2 answers
3k views

Unable to setup SharePoint Framework Dev Environment: TypeError: lookup.flatMap is not a function

I am unable to setup SPFx Development Environment for my SharePoint Online. I installed 10.24 and 10.20 version of Nodejs then also installed gulp and yeoman. But when I execute yo @microsoft/...
Zakir HC's user avatar
  • 3,650
1 vote
1 answer
125 views

SPFx Yeoman generates wrong package versions

In the past I have generated SPFx projects successfully using @microsoft/generator-sharepoint yeoman generator, but now it is not giving me the same versions for the SPFx packages. I discovered it was ...
Jpw84's user avatar
  • 33
1 vote
1 answer
418 views

SPFx development - npm audit vulnerabilities

The company I work for needs custom web parts in modern SharePoint. I was humming along following the excellent (Microsoft's sponsored) tutorials on SPFx development. I got my web part working on my ...
Miryam's user avatar
  • 13
3 votes
1 answer
523 views

Spfx: Change spfx Webpart environment from sharepoint online to sharepoint on prem

I have a modern web part built for sharepoint Online. I want to convert this web part to be compatible with sharepoint on-prem 2019. I have searched and found out that I would need to use spfx version ...
Student's user avatar
  • 321
3 votes
1 answer
426 views

SPFX: Mantaining multiple project created with different versions of the Yeoman generators

Premise: When a new Angular 2+ project is created using the Angular CLI NPM package, a local copy of the CLI is added as a dev dependency to the project: this ensures that when the CLI is used again ...
SPArcheon's user avatar
  • 6,860
1 vote
3 answers
1k views

SharePoint framework yo not showing all the options

I am new to SharePoint framework. I am executing yo @microsoft\sharepoint. Providing all the inputs. For the question Which type of component to be created? it is showing only Webpart. It is not ...
Sriram Tamilarasan's user avatar