diff --git a/troubleshooting/js-errors.md b/troubleshooting/js-errors.md index d36c6e2d10..2b2d6ce9fe 100644 --- a/troubleshooting/js-errors.md +++ b/troubleshooting/js-errors.md @@ -31,6 +31,7 @@ If you get such errors, the reason may be: * [The `telerik-blazor.js` JS Interop file is missing or the URL is wrong](#missing-file) * [The `defer` attribute causes the script to load and execute too late](#defer-attribute) +* [A required order of the HTML tags in the web page](#html-tags-order) * [TypeScript `exports` workaround break Telerik Blazor](#typescript) * [A result of a syntax error in old browser](#syntaxerror-unexpected-token) @@ -57,6 +58,21 @@ Sometimes, the JS Interop file is referenced correctly and returns successfully, One solution is to remove the `defer` attribute of the ` + ... + +``` + ### TypeScript By default, TypeScript results in compiled code that needs the `exports` object, and that is not available in Blazor by default, so it throws an error. A common workaround for that (defining an empty `exports` object) causes errors from the Telerik JS Interop files. You can read more about the errors and the solutions in the [TypeScript Exports error breaks Telerik Blazor]({%slug common-kb-typescript-exports%}) Knowledge Base article.