sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

SPfx Web Part on Classic Wiki Page - Supported?

Open sparkitect opened this issue 9 years ago • 9 comments

Category

  • [ ] Question
  • [ ] Typo
  • [X] Bug
  • [ ] Enhancement / Suggestion
  • [ ] Additional article idea

Expected or Desired Behavior

Web Part will render correctly on classic Wiki Page (in Wiki Content area).

Observed Behavior

Adding web part to a classic Wiki Page results in the following intermittent error: [SPWebPartErrorCode.IncorrectBoostrapModule]:: Bootstrap module for web part WebPart.ProjectTimelineWebPart.g_40ba90e0_80a7_4e39_bfd9_743fa1d9f236 not of the correct type. Make sure to export your web part as 'export default WebPartName'. CALLSTACK:: Error at t (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-01-16.006/sp-loader_en-us_c6554f8ef470ee0d617402401b9e20e1.js:57:16567) at t (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-01-16.006/sp-webpart-base_en-us_6e4f6353e26c918a168d3e0f5f02168a.js:47:22094) at t.createWithLogProperties (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-01-16.006/sp-webpart-base_en-us_6e4f6353e26c918a168d3e0f5f02168a.js:47:22628) at Anonymous function (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-01-16.006/sp-webpart-base_en-us_6e4f6353e26c918a168d3e0f5f02168a.js:47:31292) LOGPROPERTIES:: {"actualType":"object","wp":{}}

It doesn't happen on every page load, only occasionally and I cannot seem to find a reason/pattern. It seems to work fine on a classic Web Part Page in Web Part Zone.

sparkitect avatar Feb 06 '17 18:02 sparkitect

Hi @sparkitect, a fix is rolling out soon. We know about these issues. Thanx for your feedback.

manishgarg1 avatar Feb 06 '17 19:02 manishgarg1

Ok, thanks!

sparkitect avatar Feb 06 '17 19:02 sparkitect

@sparkitect, is this fixed ? If yes, please close the issue.

manishgarg1 avatar Feb 24 '17 17:02 manishgarg1

Can't reproduce it now; closing issue.

sparkitect avatar Feb 24 '17 17:02 sparkitect

This is still an issue.

araver avatar Oct 06 '17 22:10 araver

Hi, All I am getting this issue in normal classic page.

` [SPWebPartErrorCode.IncorrectBoostrapModule]: Bootstrap module for web part WebPart.PowerLinksWebPart.g_32239c64_e2c5_46fa_ae64_b9040049f2e0 not of the correct type. Make sure to export your web part as 'export default WebPartName'.

***CALLSTACK: Error at t [as constructor] (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-11-10.009/sp-classic-page-assembly_en-us_89fc552e11063ddb601e966dd2b79117.js:201:20910) at new t (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-11-10.009/sp-classic-page-assembly_en-us_89fc552e11063ddb601e966dd2b79117.js:301:26738) at Function.t.createWithLogProperties (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-11-10.009/sp-classic-page-assembly_en-us_89fc552e11063ddb601e966dd2b79117.js:301:27319) at e._instantiateWebPart (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-11-10.009/sp-classic-page-assembly_en-us_89fc552e11063ddb601e966dd2b79117.js:301:44485) at https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-11-10.009/sp-classic-page-assembly_en-us_89fc552e11063ddb601e966dd2b79117.js:301:32598 at ***LOGPROPERTIES: {"actualType":"object","wp":{"config":{"_settings":{"keys":[],"values":[]}},"graph":{},"sp":{"_options":{},"_baseUrl":""},"storage":{"_local":null,"_session":null}}} `

Please help with this

craghavendra21 avatar Nov 29 '17 12:11 craghavendra21

@craghavendra21 which version of the SharePoint Framework are you using in your project?

waldekmastykarz avatar Nov 29 '17 12:11 waldekmastykarz

I am also getting the same error. I am using the latest version of spfx 1.4.1. Is there some problem with the 1.4.1 version compatibility with react, gulp etc

Masood10 avatar May 28 '18 08:05 Masood10

Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues

msft-github-bot avatar Jan 29 '20 18:01 msft-github-bot