Forum Discussion
Rohitkumar11
Aug 29, 2023Copper Contributor
Spfx error- TypeError: _brace2.default.acequire is not a function. Any guess why i am getting this?
- Aug 31, 2023can you try this..this should work --/lib/PropertyFieldPeoplePicker in import .
import {
IPropertyFieldGroupOrPerson,
PropertyFieldPeoplePicker,
PrincipalType
} from '@pnp/spfx-property-controls/lib/PropertyFieldPeoplePicker';
Rohitkumar11
Aug 31, 2023Copper Contributor
i have used this import {
IPropertyFieldGroupOrPerson,
PrincipalType,
PropertyFieldPeoplePicker,
} from "@pnp/spfx-property-controls
IPropertyFieldGroupOrPerson,
PrincipalType,
PropertyFieldPeoplePicker,
} from "@pnp/spfx-property-controls
Rahul_Singh1992
Aug 31, 2023Copper Contributor
can you try this..this should work --/lib/PropertyFieldPeoplePicker in import .
import {
IPropertyFieldGroupOrPerson,
PropertyFieldPeoplePicker,
PrincipalType
} from '@pnp/spfx-property-controls/lib/PropertyFieldPeoplePicker';
import {
IPropertyFieldGroupOrPerson,
PropertyFieldPeoplePicker,
PrincipalType
} from '@pnp/spfx-property-controls/lib/PropertyFieldPeoplePicker';
- Rohitkumar11Aug 31, 2023Copper ContributorYes , It worked thanks a lot