Live training: next batches coming soon. Join the waitlist:Waitlists open:Developer Training →Developer →Copilot Studio Training →Copilot Studio →

Fix: Module ‘”@pnp/sp/presets/all”‘ has no exported member ‘sp’ (TS2305) in SPFx

Fix Module @pnp/sp/presets/all has no exported member sp in SPFx

The error Module ‘”@pnp/sp/presets/all”‘ has no exported member ‘sp’ means your code is PnPjs v2, but npm installed v3 or v4. Those versions dropped the global sp object. Create your own instance with spfi() instead: That returns the list items as plain JSON. No sp.setup(), no .get(). In this tutorial, we’ll reproduce the Module ‘”@pnp/sp/presets/all”‘ … read more…

How to Export Data to Excel in SharePoint Framework (SPFx)

export sharepoint list data into excel using spfx

If you’ve built a SharePoint Framework web part that displays list data, sooner or later someone’s going to ask: “Can I download this as an Excel file?” The answer is yes — and it’s actually not that hard once you know which libraries to use and how to wire them together. In this tutorial, I’ll walk … read more…

How to Update SPFx Version (Complete Step-by-Step Guide)

microsoft 365 cli for checking spfx status

If you’ve been working with SharePoint Framework for a while, you already know that keeping your SPFx version current isn’t just a “nice to have.” It keeps your solutions compatible with the latest SharePoint Online changes, patches security issues, and unlocks new features. But the upgrade process can feel a bit overwhelming if you’re staring … read more…