如何解决我一直在尝试将 mgt-react 组件集成到我的应用程序中,但它似乎与其他包冲突
这是我在像这样包含 mtg-react 时得到的错误:
import { Login } from "@microsoft/mgt-react";
components.ts:25 Uncaught TypeError: Cannot redefine property: PersonCardInteraction
at Function.defineProperty (<anonymous>)
at components.ts:25
at Array.forEach (<anonymous>)
at Object.parcelRequire.../node_modules/@microsoft/mgt-components/dist/es6/components/components.js../mgt-agenda/mgt-agenda (components.ts:25)
at newRequire (App.d36a57b6.js:47)
at localRequire (App.d36a57b6.js:53)
at Object.parcelRequire.../node_modules/@microsoft/mgt-components/dist/es6/index.js../components/components (index.ts:8)
at newRequire (App.d36a57b6.js:47)
at localRequire (App.d36a57b6.js:53)
at Object.parcelRequire.../node_modules/@microsoft/mgt-react/dist/es6/generated/react.js.../Mgt (react.ts:166)
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。