microsoftgraph / microsoft-graph-toolkit

Authentication Providers and UI components for Microsoft Graph 🦒
https://docs.microsoft.com/graph/toolkit/overview
Other
964 stars 309 forks source link

Manifest not found for component id "32b9363b-09ff-4959-929a-cab2663fb223" and version "2.2.1" #1982

Closed Ofer-Gal closed 1 year ago

Ofer-Gal commented 1 year ago

To Reproduce Steps to reproduce the behavior:

  1. create SPFx 1.16.0 webpart
  2. Add "@microsoft/mgt-react": "^2.8.0", and "@microsoft/mgt-spfx": "^2.8.0",
  3. Add if (!Providers.globalProvider) { Providers.globalProvider = new SharePointProvider(this.context); } it the webpart file
  4. Add in the main component
  5. F5 to run
  6. Add web part to the workbench
  7. See error "Manifest not found for component id "32b9363b-09ff-4959-929a-cab2663fb223" and version "2.2.1""

Expected behavior Show my agenda

What am I missing? Thanks

ghost commented 1 year ago

Hello Ofer-Gal, thank you for opening an issue with us!

I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 🙌

Ofer-Gal commented 1 year ago

Changed the import to import { Agenda } from '@microsoft/mgt-react/dist/es6/spfx'; And now it is working. Sorry