Skip to main content
added 96 characters in body
Source Link

Finally I found the cause. I use a publishing portal site template with a custom master page. There are some javascript references in the header. When I removed references, the error has gone. Then I added “~“The final solution is to URL, then the error never came.add this code

<!--SPM:<SharePoint:Scriptlink language="javscript"
name="https://....js"
runat="server" Localizable="false"/>-->

Finally I found the cause. I use publishing portal site template with custom master page. There are some javascript references in the header. When I removed references, the error has gone. Then I added “~“ to URL, then the error never came.

Finally I found the cause. I use a publishing portal site template with a custom master page. There are some javascript references in the header. When I removed references, the error has gone. The final solution is to add this code

<!--SPM:<SharePoint:Scriptlink language="javscript"
name="https://....js"
runat="server" Localizable="false"/>-->
Source Link

Finally I found the cause. I use publishing portal site template with custom master page. There are some javascript references in the header. When I removed references, the error has gone. Then I added “~“ to URL, then the error never came.