Coder Social home page Coder Social logo

People Picker - "@pnp/spfx-controls-react/lib/PeoplePicker" has no exported member named 'IPeoplePickerContext' about sp-dev-fx-controls-react HOT 4 CLOSED

lovethakker02 avatar lovethakker02 commented on August 10, 2024
People Picker - "@pnp/spfx-controls-react/lib/PeoplePicker" has no exported member named 'IPeoplePickerContext'

from sp-dev-fx-controls-react.

Comments (4)

michaelmaillot avatar michaelmaillot commented on August 10, 2024 1

Hi @lovethakker02,

The IPeoplePickerContext is an improvment available from version 3.18.0. It looks like you're using the previous version which is why you have the mentioned error message.

I'd suggest you to update the PnP Controls to latest version in order to use the new interface.

Does it answer your question?

from sp-dev-fx-controls-react.

lovethakker02 avatar lovethakker02 commented on August 10, 2024 1

The issue is happening due to separate package - @pnp/spfx-property-controls. I have installed it by mistake for @pnp/spfx-controls-react and now when I uninstalling that package, I am getting error. I reinstall the package and the above error is gone.

I will open a separate thread for this. Thank you for your support @michaelmaillot .

from sp-dev-fx-controls-react.

github-actions avatar github-actions commented on August 10, 2024

Thank you for submitting your first issue to this project.

from sp-dev-fx-controls-react.

lovethakker02 avatar lovethakker02 commented on August 10, 2024

When I update the version using below command, I am getting error while I serve the project:
npm install @pnp/[email protected] --save --save-exact
Error-
Error - [webpack] 'dist':
[object Object]

So, I created a new solution and tried the latest version there. It run smoothly. I am not sure what is causing the issue in the last solution.

from sp-dev-fx-controls-react.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.