Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ACE project build fails after installing @pnp/spfx-property-controls v 3.16.0 #604

Open
1 of 3 tasks
Annie-Johnson opened this issue Feb 21, 2024 · 2 comments
Open
1 of 3 tasks

Comments

@Annie-Johnson
Copy link

Category

  • Enhancement
  • Bug
  • Question

Version

Please specify what version of the library you are using: [ 3.16.0 ]

If you are not using the latest release, please update and see if the issue is resolved before submitting an issue.

Expected / Desired Behavior / Question

The SPFx project builds successfully after installing @pnp/spfx-property-controls

Observed Behavior

The build fails immediately after this dependency is installed until the dependency is deleted and the entry is removed from config.json localized resources. The error messages are as follows:

[17:31:49] Finished subtask 'configure-webpack' after 1.18 s
[17:31:49] Starting subtask 'webpack'...
[17:31:49] Error - [webpack] Error processing webpack stats: TypeError: Cannot read property 'toJson' of undefined
[17:31:49] Error - [webpack] Webpack error: TypeError: Cannot set property 'asyncChunks' of undefined

Steps to Reproduce

Run npm install @pnp/spfx-property-controls --save --save-exact in an adaptive card extension project using SPFx v1.18
run gulp serve
observe webpack error output

@ghost
Copy link

ghost commented Feb 21, 2024

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

@pfrowe
Copy link

pfrowe commented Jun 5, 2024

I'm getting this error not when I install the dependency, but when I attempt to use it. I'm trying to build a custom webpart with a PropertyFieldPeoplePicker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants