Facing issue for SPFx web page after web part deployment for Sharepoint Online
Getting below issues,
VM401:5 Refused to execute script from ‘https://test.sharepoint.com/sites/DOL-c-US-TSSkillsAssessment/Client…c252a/TestSolutionWebPartStrings_en-us_eb42a51….js’ because its MIME type (‘text/html’) is not executable, and strict MIME type checking is enabled.
Uncaught (in promise) Error: Script error for “bc6bad4d-98f8-4d0d-8f78-4abb4bd2dfd1_0.0.1/TestSolutionWebPartStrings” https://requirejs.org/docs/errors.html#scripterror at makeError (eval at e (sp-pages-assembly_en-us_257eb6e03669104b2d395d767ec024e6.js:199:10587), :5:1843) at HTMLScriptElement.onScriptError (eval at e (sp-pages-assembly_en-us_257eb6e03669104b2d395d767ec024e6.js:199:10587), :5:16979)
Getting above error when I deployed webpart to page and when trying to access the page, it is throwing above errors. Same site is working fine with organization VPN network but without VPN it is not working. Aprt from this site content & list are working fine, I can able to access it without VPN. Only page with deployed webpart is not working without VPN.
If this is VPN issue it should not allow to access the Site Content or lists as well but it is throwing issue for webpart deployed page only.
Please advise if anyone have any idea related to this issue.
Thanks in advance
Getting below issues,VM401:5 Refused to execute script from ‘https://test.sharepoint.com/sites/DOL-c-US-TSSkillsAssessment/Client…c252a/TestSolutionWebPartStrings_en-us_eb42a51….js’ because its MIME type (‘text/html’) is not executable, and strict MIME type checking is enabled.Uncaught (in promise) Error: Script error for “bc6bad4d-98f8-4d0d-8f78-4abb4bd2dfd1_0.0.1/TestSolutionWebPartStrings” https://requirejs.org/docs/errors.html#scripterror at makeError (eval at e (sp-pages-assembly_en-us_257eb6e03669104b2d395d767ec024e6.js:199:10587), :5:1843) at HTMLScriptElement.onScriptError (eval at e (sp-pages-assembly_en-us_257eb6e03669104b2d395d767ec024e6.js:199:10587), :5:16979)Getting above error when I deployed webpart to page and when trying to access the page, it is throwing above errors. Same site is working fine with organization VPN network but without VPN it is not working. Aprt from this site content & list are working fine, I can able to access it without VPN. Only page with deployed webpart is not working without VPN.If this is VPN issue it should not allow to access the Site Content or lists as well but it is throwing issue for webpart deployed page only.Please advise if anyone have any idea related to this issue.Thanks in advance Read More