pnp / pnp/sp-dev-fx-controls-react
spfx-controls-react: Cannot read properties of undefined (reading 'call')
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 433
- Forks
- 418
- Avg merge
- 5d 6m
- Merged PRs (30d)
- 19
Description
Hello,
I get this error when I try to use all controls except WebPartTitle and Placeholder:
[SPLoaderError.loadComponentError]:
***Failed to load component "6ac657b4-924c-4182-9eba-7f6dacc68b22" .
Original error: ***Failed to load entry point from component "6ac657b4-924c-4182-9eba-7f6dacc68b22".
Original error: Error loading https://component-id.invalid/6ac657b4-924c-4182-9eba-7f6dacc68b22_1.0.0
Cannot read properties of undefined (reading 'call')
***INNERERROR:
***Failed to load entry point from component "6ac657b4-924c-4182-9eba-7f6dacc68b22".
Original error: Error loading https://component-id.invalid/6ac657b4-924c-4182-9eba-7f6dacc68b22_1.0.0
Cannot read properties of undefined (reading 'call')
***CALLSTACK:
Error
at t [as constructor] (........../_layouts/15/next/spclient/en-us/sp-webpart-workbench-assembly.js?uniqueId=tdfWh:297:15766)
at new t (......./_layouts/15/next/spclient/en-us/sp-webpart-workbench-assembly.js?uniqueId=tdfWh:928:22189)
at e.buildErrorWithVerboseLog (........../_layouts/15/next/spclient/en-us/sp-webpart-workbench-assembly.js?uniqueId=tdfWh:928:14423)
at e.buildLoadComponentError (........../_layouts/15/next/spclient/en-us/sp-webpart-workbench-assembly.js?uniqueId=tdfWh:928:10844)
at ....../_layouts/15/next/spclient/en-us/sp-webpart-workbench-assembly.js?uniqueId=tdfWh:928:62110
Versions:
spfx-controls-react version: 1.21.1
SPFx: 1.4
SharePoint 2019 onPrem.
Any idea please?
Thanks
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure with spfx-controls-react 1.21.1 on SPFx 1.4 and SharePoint 2019 onPrem, then inspect the reported component entry point and the SharePoint workbench loader error. The issue is complete when the affected controls load successfully or the supported-version incompatibility and required fix are documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100