pnp / pnp/sp-dev-fx-controls-react
package version conflict regarding LivePersona
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 433
- Forks
- 418
- Avg merge
- 5d 6m
- Merged PRs (30d)
- 19
Description
Hello,
I am trying to use pnp control LivePersona in my spfx project.
this control needs a prop 'serviceScope' , when I pass webpart context to it, it will prompt an error:

Error:
Type 'import("C:/nline_1.15/node_modules/@microsoft/sp-core-library/dist/index-internal").ServiceScope' is not assignable to type 'import("C:/nline_1.15/node_modules/@pnp/spfx-controls-react/node_modules/@microsoft/sp-core-library/dist/index-internal").ServiceScope'.
Types have separate declarations of a private property '_registrations'.
it seems that PNP control uses spfx 1.14 while my project uses 1.15. there're 2 "@microsoft/sp-core-library", one is spfx (1.15), other is 1.14.
please help me! I need the below hover card while fluent UI does not have

Category
[ ] Enhancement
[ ] Bug
[x ] Question
Environment
Node: v14.20.0
Spfx: lastest, 1.15
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 with the LivePersona control documentation and compare its @microsoft/sp-core-library dependency with the project's SPFx 1.15 version. Confirm whether the serviceScope type conflict can be resolved with compatible package versions; done means the web part context is accepted without duplicate ServiceScope declarations.
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