SPFx 1.12 error with ListPicker and ListItemPicker
See original GitHub issueCategory
[ ] Enhancement
[x] Bug
[ ] Question
Version
Please specify what version of the library you are using: v3 on SPFx 1.12
If you are not using the latest release, please update and see if the issue is resolved before submitting an issue.
Expected / Desired Behavior
gulp serve builds the Web Part.
Observed Behavior
I am having issues with the ListPicker and ListItemPicker components. When I run gulp serve
, I am getting the following errors:
Error - [webpack] 'dist':
./node_modules/@microsoft/decorators/lib-commonjs/index.js
Module not found: Error: Can't resolve './override' in 'C:\MyGit\React-PPP-PnP\node_modules\@microsoft\decorators\lib-commonjs'
If I run gulp build
, Iam not getting any error.
PeoplePicker works fine.
Steps to Reproduce
Create a Web Part using the following configuration: SPFx 1.12 Nodejs 10.24.0 TypeScript 3.7
Thanks!
Issue Analytics
- State:
- Created 2 years ago
- Comments:37 (24 by maintainers)
Top Results From Across the Web
Release notes - @pnp/spfx-controls-react
ListPicker : ability to pick lists from specified site using webAbsoluteUrl property. FilePicker : buttonIconProps to define properties of the button's icon # ......
Read more >Christophe | Path to SharePoint... and Beyond!
In SharePoint and Teams, the points of entry are called the SharePoint Framework (aka SPFx, version 1.12 expected in February) and the Microsoft ......
Read more >Cascading List and ListItem using PnP Controls in the ...
This article provide steps to implement the Cascading List and ListItem using PnP Controls in the SharePoint Framework (SPFx) webpart, ...
Read more >Web part with Persona stopped working
Did not resolve the issue. – Randy Slavey. Oct 6 at 16:02. SPFx 1.12.1 ...
Read more >PnP List Item Picker in SharePoint Framework - C# Corner
Refer to this link to get the list of React controls for SPFx. You will see how to use PnP List Item Picker...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@brianpmccullough - as soon as we fix #918 😃
@PathToSharePoint it was mostly a joke from my side. But if you import just from
@pnp/spfx-controls-react
you will drastically increase the size of your web part, as you will include ALL the controls and all dependencies, like PnPJS.