question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

SPFx 1.12 error with ListPicker and ListItemPicker

See original GitHub issue

Category

[ ] 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:closed
  • Created 2 years ago
  • Comments:37 (24 by maintainers)

github_iconTop GitHub Comments

2reactions
AJIXuMuKcommented, Jun 10, 2021

@brianpmccullough - as soon as we fix #918 😃

2reactions
AJIXuMuKcommented, Jun 6, 2021

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found