Forum Discussion

Rohitkumar11's avatar
Rohitkumar11
Copper Contributor
Aug 29, 2023

Spfx error- TypeError: _brace2.default.acequire is not a function. Any guess why i am getting this?

  • Rahul_Singh1992's avatar
    Rahul_Singh1992
    Aug 31, 2023
    can you try this..this should work --/lib/PropertyFieldPeoplePicker in import .

    import {
    IPropertyFieldGroupOrPerson,
    PropertyFieldPeoplePicker,
    PrincipalType
    } from '@pnp/spfx-property-controls/lib/PropertyFieldPeoplePicker';

Resources