Question

Getting following error in after adding webpart. I can add it workbench.html but in workbench.aspx it's not working.

The value for "webpart context configureStart" must not be undefined

enter image description here

It's happening in all samples from sp-dev-fx-webparts. It's also happening in fresh installation

Was it helpful?

Solution

So apparently we messed up in the shift away from @microsoft/sp-client-preview towards @microsoft/sp-webpart-base . While we fix up documentation, samples, yeoman, etc. please follow the instructions in the "New BaseClientSideWebPart package location" section of this page - https://github.com/SharePoint/sp-dev-docs/wiki/Release-Notes-Drop-5

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top