SOLVED

SharePoint framework react-script editor web part error

%3CLINGO-SUB%20id%3D%22lingo-sub-103152%22%20slang%3D%22en-US%22%3ESharePoint%20framework%20react-script%20editor%20web%20part%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-103152%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20Everyone%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20tried%20to%20use%20Sharepoint%20react%20script%20editor%20web%20part%20and%20received%20below%20error.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22errorBoxText_51919355%22%3E***ERROR%20MESSAGE%3A%20***Failed%20to%20load%20component%20%223a328f0a-99c4-4b28-95ab-fe0847f657a3%22%20(ScriptEditorWebPart).%20Original%20error%3A%20***Failed%20to%20load%20entry%20point%20from%20component%20%223a328f0a-99c4-4b28-95ab-fe0847f657a3%22%20(ScriptEditorWebPart).%20Original%20error%3A%20Error%20loading%20%3CA%20href%3D%22https%3A%2F%2Fcomponent-id.invalid%2F3a328f0a-99c4-4b28-95ab-fe0847f657a3_0.0.1%2Foffice-ui-fabric-react%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fcomponent-id.invalid%2F3a328f0a-99c4-4b28-95ab-fe0847f657a3_0.0.1%2Foffice-ui-fabric-react%3C%2FA%3E%20as%20%22office-ui-fabric-react%22%20from%20%3CA%20href%3D%22https%3A%2F%2Fcomponent-id.invalid%2F3a328f0a-99c4-4b28-95ab-fe0847f657a3_0.0.1%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fcomponent-id.invalid%2F3a328f0a-99c4-4b28-95ab-fe0847f657a3_0.0.1%3C%2FA%3E%20Error%20loading%20%3CA%20href%3D%22https%3A%2F%2Fcomponent-id.invalid%2F3a328f0a-99c4-4b28-95ab-fe0847f657a3_0.0.1%2Foffice-ui-fabric-react%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fcomponent-id.invalid%2F3a328f0a-99c4-4b28-95ab-fe0847f657a3_0.0.1%2Foffice-ui-fabric-react%3C%2FA%3E%20Unable%20to%20load%20script%20%3CA%20href%3D%22https%3A%2F%2Fpubliccdn.sharepointonline.com%2Ftechmikael.sharepoint.com%2F11510075fe4212d19d3e6d07c91981263dd697bf111cb1e5f0efb15de0ec08b382cde399%2F2.34.2%2Foffice-ui-fabric-react.bundle.min.js%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fpubliccdn.sharepointonline.com%2Ftechmikael.sharepoint.com%2F11510075fe4212d19d3e6d07c91981263dd697bf111cb1e5f0efb15de0ec08b382cde399%2F2.34.2%2Foffice-ui-fabric-react.bundle.min.js%3C%2FA%3E%20***CALLSTACK%3A%20Error%3A%20***Failed%20to%20load%20component%20%223a328f0a-99c4-4b28-95ab-fe0847f657a3%22%20(ScriptEditorWebPart).%20Original%20error%3A%20***Failed%20to%20load%20entry%20point%20from%20component%20%223a328f0a-99c4-4b28-95ab-fe0847f657a3%22%20(ScriptEditorWebPart).%20Original%20error%3A%20Error%20loading%20%3CA%20href%3D%22https%3A%2F%2Fcomponent-id.invalid%2F3a328f0a-99c4-4b28-95ab-fe0847f657a3_0.0.1%2Foffice-ui-fabric-react%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fcomponent-id.invalid%2F3a328f0a-99c4-4b28-95ab-fe0847f657a3_0.0.1%2Foffice-ui-fabric-react%3C%2FA%3E%20as%20%22office-ui-fabric-react%22%20from%20%3CA%20href%3D%22https%3A%2F%2Fcomponent-id.invalid%2F3a328f0a-99c4-4b28-95ab-fe0847f657a3_0.0.1%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fcomponent-id.invalid%2F3a328f0a-99c4-4b28-95ab-fe0847f657a3_0.0.1%3C%2FA%3E%20Error%20loading%20%3CA%20href%3D%22https%3A%2F%2Fcomponent-id.invalid%2F3a328f0a-99c4-4b28-95ab-fe0847f657a3_0.0.1%2Foffice-ui-fabric-react%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fcomponent-id.invalid%2F3a328f0a-99c4-4b28-95ab-fe0847f657a3_0.0.1%2Foffice-ui-fabric-react%3C%2FA%3E%20Unable%20to%20load%20script%20%3CA%20href%3D%22https%3A%2F%2Fpubliccdn.sharepointonline.com%2Ftechmikael.sharepoint.com%2F11510075fe4212d19d3e6d07c91981263dd697bf111cb1e5f0efb15de0ec08b382cde399%2F2.34.2%2Foffice-ui-fabric-react.bundle.min.js%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fpubliccdn.sharepointonline.com%2Ftechmikael.sharepoint.com%2F11510075fe4212d19d3e6d07c91981263dd697bf111cb1e5f0efb15de0ec08b382cde399%2F2.34.2%2Foffice-ui-fabric-react.bundle.min.js%3C%2FA%3E%20at%20Anonymous%20function%20(https%3A%2F%2Flocalhost%3A4321%2Fnode_modules%2F%40microsoft%2Fsp-loader%2Fdist%2Fsp-loader_en-us.js%3A16234%3A9)%20at%20lib%24es6%24promise%24%24internal%24%24tryCatch%20(https%3A%2F%2Flocalhost%3A4321%2Fnode_modules%2F%40microsoft%2Fsp-loader%2Fdist%2Fsp-loader_en-us.js%3A21064%3A9)%20at%20lib%24es6%24promise%24%24internal%24%24invokeCallback%20(https%3A%2F%2Flocalhost%3A4321%2Fnode_modules%2F%40microsoft%2Fsp-loader%2Fdist%2Fsp-loader_en-us.js%3A21076%3A9)%20at%20lib%24es6%24promise%24%24internal%24%24publish%20(https%3A%2F%2Flocalhost%3A4321%2Fnode_modules%2F%40microsoft%2Fsp-loader%2Fdist%2Fsp-loader_en-us.js%3A21047%3A11)%20at%20lib%24es6%24promise%24%24internal%24%24publishRejection%20(https%3A%2F%2Flocalhost%3A4321%2Fnode_modules%2F%40microsoft%2Fsp-loader%2Fdist%2Fsp-loader_en-us.js%3A20997%3A7)%20at%20lib%24es6%24promise%24asap%24%24flush%20(https%3A%2F%2Flocalhost%3A4321%2Fnode_modules%2F%40microsoft%2Fsp-loader%2Fdist%2Fsp-loader_en-us.js%3A20822%3A9)%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22errorBoxText_51919355%22%3EAny%20Suggestion%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-393234%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20framework%20react-script%20editor%20web%20part%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-393234%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F155300%22%20target%3D%22_blank%22%3E%40Hans%20Kristian%20Kristoffersen%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20the%20same%20issue%20and%20verified%20the%20version%20of%20React%20in%20my%20config%20file%20is%2015.6.6%20but%20still%20the%20exact%20same%20issue.%3C%2FP%3E%3CP%3EFailed%20to%20load%20component%20%223a328f0a-99c4-4b28-95ab-fe0847f657a3%22%20(ScriptEditorWebPart).%3CBR%20%2F%3EOriginal%20error%3A%20***Manifest%20not%20found%20for%20component%20id%20%22974a7777-0990-4136-8fa6-95d80114c2e0%22%20and%20version%20%221.5.1%22%3C%2FP%3E%3CP%3EHere%20is%20my%20package.json%20file%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-370003%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20framework%20react-script%20editor%20web%20part%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-370003%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F155300%22%20target%3D%22_blank%22%3E%40Hans%20Kristian%20Kristoffersen%3C%2FA%3E%26nbsp%3Bfeel%20free%20to%20do%20a%20PR%2C%20and%20I'll%20happily%20downgrade%20to%20make%20it%20work%20more%20places.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThen%20again%20-%20DON'T%20USE%20this%20web%20part!%20%3AD%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-369998%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20framework%20react-script%20editor%20web%20part%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-369998%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F34%22%20target%3D%22_blank%22%3E%40Mikael%20Svenson%3C%2FA%3E%3C%2FP%3E%3CP%3EHi%20again%20Mikael%2C%20just%20wanted%20to%20tell%20you%20I%20got%20your%20webpart%20working%20in%20SharePoint%202019%20on-prem%20(offline)%3C%2FP%3E%3CP%3ESeems%20the%20biggest%20issue%20is%26nbsp%3Bthat%26nbsp%3Bwhen%20you%20create%20a%20project%20with%26nbsp%3Bthe%20React%20Framework%2C%20it%20uses%20version%2016.x.x%20of%20React%20which%202019%20does%20not%20support.%20Downgrading%20to%20a%20version%20of%20the%2015%20release%20did%20the%20trick.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-331934%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20framework%20react-script%20editor%20web%20part%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-331934%22%20slang%3D%22en-US%22%3E..and%20the%20part%20is%20made%20for%20online.%20Onprem%20requires%20an%20effort.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-331932%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20framework%20react-script%20editor%20web%20part%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-331932%22%20slang%3D%22en-US%22%3EI%20suggest%20pulling%20down%20the%20latest%20dev%20branch%20and%20rebuild%20from%20github.%20And%20please%20log%20issues%20at%20github%20and%20not%20here.%20Easier%20to%20track%20%3A)%3C%2Fimg%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-331894%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20framework%20react-script%20editor%20web%20part%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-331894%22%20slang%3D%22en-US%22%3EI%20too%20received%20the%20error%20mentioned%20above.%20Sorry%20to%20bother%2C%20I'm%20new%20to%20this%20-%20so%20any%20help%20would%20be%20appreciated!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-327243%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20framework%20react-script%20editor%20web%20part%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-327243%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%0A%3CP%3EYou%20probably%20need%20to%20downgrade%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F41501%22%20target%3D%22_blank%22%3E%40microsoft%3C%2FA%3E%26nbsp%3Bnpm%20packages%20to%20~1.1.0%20and%20possibly%20edit%20tsconfig.json%20and%26nbsp%3B.yo-rc.json.%20If%20you%20create%20a%20dummy%20SPFx%202016%20part%20-%20and%20copy%20the%20configs%20you%20should%20be%20able%20to%20get%20it%20working.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EGuess%20I%20could%20do%20the%20work%20myself%20-%20but%20don't%20have%20any%20on-prem%20environments%20to%20test%20on%20%3A)%3C%2Fimg%3E%20If%20you%20create%20a%20PR%20which%20updates%20to%20SPFx%20v1.7.1%20and%20changes%20lib%20compat%20to%20online%20as%20well%20I'll%20merge%20it.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-327237%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20framework%20react-script%20editor%20web%20part%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-327237%22%20slang%3D%22en-US%22%3E%3CP%3EThe%20error%20output%20is%3A%3C%2FP%3E%3CP%3ESPLoaderError.loadComponentError%5D%3A%3CBR%20%2F%3E***Failed%20to%20load%20component%20%223a328f0a-99c4-4b28-95ab-fe0847f657a3%22%20(ScriptEditorWebPart).%3CBR%20%2F%3EOriginal%20error%3A%20***Manifest%20not%20found%20for%20component%20id%20%22974a7777-0990-4136-8fa6-95d80114c2e0%22%20and%20version%20%221.5.1%22.%3C%2FP%3E%3CP%3E***INNERERROR%3A%3CBR%20%2F%3E***Manifest%20not%20found%20for%20component%20id%20%22974a7777-0990-4136-8fa6-95d80114c2e0%22%20and%20version%20%221.5.1%22.%3CBR%20%2F%3E***CALLSTACK%3A%3CBR%20%2F%3EError%3CBR%20%2F%3Eat%20t._generateErrorStackForIE%20(%3CA%20href%3D%22http%3A%2F%2Fsharepointsite.x.xxx%2F_layouts%2F15%2Fnext%2Fspclient%2Fen-us%2Fsp-pages-assembly.js%3FuniqueId%3D2g4QD%3A356%3A16078%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fsharepointsite.x.xxx%2F_layouts%2F15%2Fnext%2Fspclient%2Fen-us%2Fsp-pages-assembly.js%3FuniqueId%3D2g4QD%3A356%3A16078%3C%2FA%3E)%3CBR%20%2F%3Eat%20t%20(%3CA%20href%3D%22http%3A%2F%2Fsharepointsite.x.xxx%2F_layouts%2F15%2Fnext%2Fspclient%2Fen-us%2Fsp-pages-assembly.js%3FuniqueId%3D2g4QD%3A356%3A15614%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fsharepointsite.x.xxx%2F_layouts%2F15%2Fnext%2Fspclient%2Fen-us%2Fsp-pages-assembly.js%3FuniqueId%3D2g4QD%3A356%3A15614%3C%2FA%3E)%3CBR%20%2F%3Eat%20t%20(%3CA%20href%3D%22http%3A%2F%2Fsharepointsite.x.xxx%2F_layouts%2F15%2Fnext%2Fspclient%2Fen-us%2Fsp-pages-assembly.js%3FuniqueId%3D2g4QD%3A807%3A22166%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fsharepointsite.x.xxx%2F_layouts%2F15%2Fnext%2Fspclient%2Fen-us%2Fsp-pages-assembly.js%3FuniqueId%3D2g4QD%3A807%3A22166%3C%2FA%3E)%3CBR%20%2F%3Eat%20e.buildErrorWithVerboseLog%20(%3CA%20href%3D%22http%3A%2F%2Fsharepointsite.x.xxx%2F_layouts%2F15%2Fnext%2Fspclient%2Fen-us%2Fsp-pages-assembly.js%3FuniqueId%3D2g4QD%3A807%3A14402%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fsharepointsite.x.xxx%2F_layouts%2F15%2Fnext%2Fspclient%2Fen-us%2Fsp-pages-assembly.js%3FuniqueId%3D2g4QD%3A807%3A14402%3C%2FA%3E)%3CBR%20%2F%3Eat%20e.buildLoadComponentError%20(%3CA%20href%3D%22http%3A%2F%2Fsharepointsite.x.xxx%2F_layouts%2F15%2Fnext%2Fspclient%2Fen-us%2Fsp-pages-assembly.js%3FuniqueId%3D2g4QD%3A807%3A10817%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fsharepointsite.x.xxx%2F_layouts%2F15%2Fnext%2Fspclient%2Fen-us%2Fsp-pages-assembly.js%3FuniqueId%3D2g4QD%3A807%3A10817%3C%2FA%3E)%3CBR%20%2F%3Eat%20Anonymous%20function%20(%3CA%20href%3D%22http%3A%2F%2Fsharepointsite.x.xxx%2F_layouts%2F15%2Fnext%2Fspclient%2Fen-us%2Fsp-pages-assembly.js%3FuniqueId%3D2g4QD%3A807%3A62074%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fsharepointsite.x.xxx%2F_layouts%2F15%2Fnext%2Fspclient%2Fen-us%2Fsp-pages-assembly.js%3FuniqueId%3D2g4QD%3A807%3A62074%3C%2FA%3E)%3CBR%20%2F%3Eat%20A%20(%3CA%20href%3D%22http%3A%2F%2Fsharepointsite.x.xxx%2F_layouts%2F15%2Fnext%2Fspclient%2F10.sp-pages-search.js%3A8%3A1743%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fsharepointsite.x.xxx%2F_layouts%2F15%2Fnext%2Fspclient%2F10.sp-pages-search.js%3A8%3A1743%3C%2FA%3E)%3CBR%20%2F%3Eat%20k%20(%3CA%20href%3D%22http%3A%2F%2Fsharepointsite.x.xxx%2F_layouts%2F15%2Fnext%2Fspclient%2F10.sp-pages-search.js%3A8%3A1831%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fsharepointsite.x.xxx%2F_layouts%2F15%2Fnext%2Fspclient%2F10.sp-pages-search.js%3A8%3A1831%3C%2FA%3E)%3CBR%20%2F%3Eat%20Anonymous%20function%20(%3CA%20href%3D%22http%3A%2F%2Fsharepointsite.x.xxx%2F_layouts%2F15%2Fnext%2Fspclient%2F10.sp-pages-search.js%3A8%3A5649%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fsharepointsite.x.xxx%2F_layouts%2F15%2Fnext%2Fspclient%2F10.sp-pages-search.js%3A8%3A5649%3C%2FA%3E)%3CBR%20%2F%3Eat%20h%20(%3CA%20href%3D%22http%3A%2F%2Fsharepointsite.x.xxx%2F_layouts%2F15%2Fnext%2Fspclient%2F10.sp-pages-search.js%3A8%3A344%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fsharepointsite.x.xxx%2F_layouts%2F15%2Fnext%2Fspclient%2F10.sp-pages-search.js%3A8%3A344%3C%2FA%3E)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-327204%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20framework%20react-script%20editor%20web%20part%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-327204%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Mikael%2C%20can%20this%20web%20part%20be%20run%20on%20SharePoint%202019%20on-prem%3F%20By%20on-prem%20in%20this%20case%20there%20are%20no%20internet%20connection.%3C%2FP%3E%3CP%3EI%20get%20the%20webpart%20running%20on%20my%20dev%20laptop%20in%20workbench.%20But%20when%20building%20a%20package%20an%20deploying%20it%20to%20the%20on-prem%20environment.%20I%20get%20a%20lot%20of%20errors%20on%20the%20webpart.%20Failed%20to%20load%20manifest%20and%20so%20on...%3C%2FP%3E%3CP%3EI'm%20just%20starting%20experimenting%20with%20spfx%2C%20and%20trying%20to%20implement%20your%20webpart%20in%20my%20companys%20dev%20environment.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-113202%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20framework%20react-script%20editor%20web%20part%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-113202%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20now%20updated%20the%20code.%20The%20PR%20is%20at%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FSharePoint%2Fsp-dev-fx-webparts%2Fpull%2F321%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2FSharePoint%2Fsp-dev-fx-webparts%2Fpull%2F321%3C%2FA%3E%2C%20and%20the%20complete%20sample%20is%20in%20my%20dev%20branch%20until%20merged%20-%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fwobba%2Fsp-dev-fx-webparts%2Ftree%2FRemoveCDN%2Fsamples%2Freact-script-editor%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fwobba%2Fsp-dev-fx-webparts%2Ftree%2FRemoveCDN%2Fsamples%2Freact-script-editor%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20updated%20removes%20all%20external%20references%2C%20bundling%20everything%20needed%20in%20the%20part%20it%20self.%20Also%20update%20it%20to%20drop%20v1.3.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-113100%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20framework%20react-script%20editor%20web%20part%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-113100%22%20slang%3D%22en-US%22%3E%3CP%3EWell%2C%20it%20should%20work%20just%20fine%20loading%20from%20the%20CDN%20of%20a%20different%20tenant.%20I%E2%80%99ll%20do%20a%20PR%20and%20revert%20back%20to%20local%20bundling%20of%20the%20fabric.%20And%20might%20upgrade%20to%20latest%20drop%20as%20well.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-103340%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20framework%20react-script%20editor%20web%20part%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-103340%22%20slang%3D%22en-US%22%3EThanks%20Wictor.%20%3A)%3C%2Fimg%3E%3CBR%20%2F%3E%3CBR%20%2F%3EI%20noticed%20that%2C%20but%20later%20I%20thought%20it%20would%20be%20some%20public%20cdn%20so%20I%20can%20access.%3CBR%20%2F%3ENow%20it%20is%20confirmed.%20Will%20give%20a%20try%20again.%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-103163%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20framework%20react-script%20editor%20web%20part%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-103163%22%20slang%3D%22en-US%22%3E%3CP%3EYou're%20trying%20to%20load%20artefacts%20from%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fpubliccdn.sharepointonline.com%2Ftechmikael.sharepoint.com%2F11510075fe4212d19d3e6d07c91981263dd697bf111cb1e5f0efb15de0ec08b382cde399%2F2.34.2%2Foffice-ui-fabric-react.bundle.min.js%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fpubliccdn.sharepointonline.com%2Ftechmikael.sharepoint.com%2F%3C%2FA%3E%26nbsp%3B-%20AFAIK%20that%20is%20the%20SharePoint%20tenant%20of%20Mikael%20Svensson%2C%20and%20not%20you%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EModify%20the%20config%2Fconfig.json%20to%20point%20to%20YOUR%20location%20where%20you%20have%20your%20Office%20UI%20Fabric%20React%20components%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

Hello Everyone

 

I tried to use Sharepoint react script editor web part and received below error.

 

***ERROR MESSAGE: ***Failed to load component "3a328f0a-99c4-4b28-95ab-fe0847f657a3" (ScriptEditorWebPart). Original error: ***Failed to load entry point from component "3a328f0a-99c4-4b28-95ab-fe0847f657a3" (ScriptEditorWebPart). Original error: Error loading https://component-id.invalid/3a328f0a-99c4-4b28-95ab-fe0847f657a3_0.0.1/office-ui-fabric-react as "office-ui-fabric-react" from https://component-id.invalid/3a328f0a-99c4-4b28-95ab-fe0847f657a3_0.0.1 Error loading https://component-id.invalid/3a328f0a-99c4-4b28-95ab-fe0847f657a3_0.0.1/office-ui-fabric-react Unable to load script https://publiccdn.sharepointonline.com/techmikael.sharepoint.com/11510075fe4212d19d3e6d07c91981263dd... ***CALLSTACK: Error: ***Failed to load component "3a328f0a-99c4-4b28-95ab-fe0847f657a3" (ScriptEditorWebPart). Original error: ***Failed to load entry point from component "3a328f0a-99c4-4b28-95ab-fe0847f657a3" (ScriptEditorWebPart). Original error: Error loading https://component-id.invalid/3a328f0a-99c4-4b28-95ab-fe0847f657a3_0.0.1/office-ui-fabric-react as "office-ui-fabric-react" from https://component-id.invalid/3a328f0a-99c4-4b28-95ab-fe0847f657a3_0.0.1 Error loading https://component-id.invalid/3a328f0a-99c4-4b28-95ab-fe0847f657a3_0.0.1/office-ui-fabric-react Unable to load script https://publiccdn.sharepointonline.com/techmikael.sharepoint.com/11510075fe4212d19d3e6d07c91981263dd... at Anonymous function (https://localhost:4321/node_modules/@microsoft/sp-loader/dist/sp-loader_en-us.js:16234:9) at lib$es6$promise$$internal$$tryCatch (https://localhost:4321/node_modules/@microsoft/sp-loader/dist/sp-loader_en-us.js:21064:9) at lib$es6$promise$$internal$$invokeCallback (https://localhost:4321/node_modules/@microsoft/sp-loader/dist/sp-loader_en-us.js:21076:9) at lib$es6$promise$$internal$$publish (https://localhost:4321/node_modules/@microsoft/sp-loader/dist/sp-loader_en-us.js:21047:11) at lib$es6$promise$$internal$$publishRejection (https://localhost:4321/node_modules/@microsoft/sp-loader/dist/sp-loader_en-us.js:20997:7) at lib$es6$promise$asap$$flush (https://localhost:4321/node_modules/@microsoft/sp-loader/dist/sp-loader_en-us.js:20822:9)

 

Any Suggestion?

 

13 Replies
Highlighted
Solution

You're trying to load artefacts from https://publiccdn.sharepointonline.com/techmikael.sharepoint.com/ - AFAIK that is the SharePoint tenant of Mikael Svensson, and not you :)

 

Modify the config/config.json to point to YOUR location where you have your Office UI Fabric React components

Highlighted
Thanks Wictor. :)

I noticed that, but later I thought it would be some public cdn so I can access.
Now it is confirmed. Will give a try again.
Highlighted

Well, it should work just fine loading from the CDN of a different tenant. I’ll do a PR and revert back to local bundling of the fabric. And might upgrade to latest drop as well.

Highlighted

I have now updated the code. The PR is at https://github.com/SharePoint/sp-dev-fx-webparts/pull/321, and the complete sample is in my dev branch until merged - https://github.com/wobba/sp-dev-fx-webparts/tree/RemoveCDN/samples/react-script-editor

 

The updated removes all external references, bundling everything needed in the part it self. Also update it to drop v1.3.

Highlighted

Hi Mikael, can this web part be run on SharePoint 2019 on-prem? By on-prem in this case there are no internet connection.

I get the webpart running on my dev laptop in workbench. But when building a package an deploying it to the on-prem environment. I get a lot of errors on the webpart. Failed to load manifest and so on...

I'm just starting experimenting with spfx, and trying to implement your webpart in my companys dev environment.

Highlighted

The error output is:

SPLoaderError.loadComponentError]:
***Failed to load component "3a328f0a-99c4-4b28-95ab-fe0847f657a3" (ScriptEditorWebPart).
Original error: ***Manifest not found for component id "974a7777-0990-4136-8fa6-95d80114c2e0" and version "1.5.1".

***INNERERROR:
***Manifest not found for component id "974a7777-0990-4136-8fa6-95d80114c2e0" and version "1.5.1".
***CALLSTACK:
Error
at t._generateErrorStackForIE (http://sharepointsite.x.xxx/_layouts/15/next/spclient/en-us/sp-pages-assembly.js?uniqueId=2g4QD:356:...)
at t (http://sharepointsite.x.xxx/_layouts/15/next/spclient/en-us/sp-pages-assembly.js?uniqueId=2g4QD:356:...)
at t (http://sharepointsite.x.xxx/_layouts/15/next/spclient/en-us/sp-pages-assembly.js?uniqueId=2g4QD:807:...)
at e.buildErrorWithVerboseLog (http://sharepointsite.x.xxx/_layouts/15/next/spclient/en-us/sp-pages-assembly.js?uniqueId=2g4QD:807:...)
at e.buildLoadComponentError (http://sharepointsite.x.xxx/_layouts/15/next/spclient/en-us/sp-pages-assembly.js?uniqueId=2g4QD:807:...)
at Anonymous function (http://sharepointsite.x.xxx/_layouts/15/next/spclient/en-us/sp-pages-assembly.js?uniqueId=2g4QD:807:...)
at A (http://sharepointsite.x.xxx/_layouts/15/next/spclient/10.sp-pages-search.js:8:1743)
at k (http://sharepointsite.x.xxx/_layouts/15/next/spclient/10.sp-pages-search.js:8:1831)
at Anonymous function (http://sharepointsite.x.xxx/_layouts/15/next/spclient/10.sp-pages-search.js:8:5649)
at h (http://sharepointsite.x.xxx/_layouts/15/next/spclient/10.sp-pages-search.js:8:344)

 

Highlighted

Hi,

You probably need to downgrade @microsoft npm packages to ~1.1.0 and possibly edit tsconfig.json and .yo-rc.json. If you create a dummy SPFx 2016 part - and copy the configs you should be able to get it working.

 

Guess I could do the work myself - but don't have any on-prem environments to test on :) If you create a PR which updates to SPFx v1.7.1 and changes lib compat to online as well I'll merge it.

Highlighted
I too received the error mentioned above. Sorry to bother, I'm new to this - so any help would be appreciated!
Highlighted
I suggest pulling down the latest dev branch and rebuild from github. And please log issues at github and not here. Easier to track :)
Highlighted
..and the part is made for online. Onprem requires an effort.
Highlighted

@Mikael Svenson

Hi again Mikael, just wanted to tell you I got your webpart working in SharePoint 2019 on-prem (offline)

Seems the biggest issue is that when you create a project with the React Framework, it uses version 16.x.x of React which 2019 does not support. Downgrading to a version of the 15 release did the trick.

Highlighted

@Hans Kristian Kristoffersen feel free to do a PR, and I'll happily downgrade to make it work more places.

 

Then again - DON'T USE this web part! :D

Highlighted

@Hans Kristian Kristoffersen 

I have the same issue and verified the version of React in my config file is 15.6.6 but still the exact same issue.

Failed to load component "3a328f0a-99c4-4b28-95ab-fe0847f657a3" (ScriptEditorWebPart).
Original error: ***Manifest not found for component id "974a7777-0990-4136-8fa6-95d80114c2e0" and version "1.5.1"

Here is my package.json file: