Get 2024 Templates Mega Bundle!14 Bootstrap, Vue & React Templates + 3 Vector Sets
Get for 99$

Issues with Good theme JS plugins


I've set up Good Admin theme using the Django starter kit.

Every time any page is loaded I am getting the following in the console:
- DevTools failed to load source map: Could not load content for http://localhost:8000/static/plugins/global/toastr.js.map: HTTP error: status code 500, net::ERR_HTTP_RESPONSE_CODE_FAILURE
- DevTools failed to load source map: Could not load content for http://localhost:8000/static/plugins/custom/datatables/pdfmake.min.js.map: HTTP error: status code 500, net::ERR_HTTP_RESPONSE_CODE_FAILURE
- DevTools failed to load source map: Could not load content for http://localhost:8000/static/plugins/custom/vis-timeline/vis-timeline-graph2d.min.js.map: HTTP error: status code 500, net::ERR_HTTP_RESPONSE_CODE_FAILURE

The path is valid, because my static files live under /static/. E.g. the following works fine:
<link href="/static/plugins/custom/datatables/datatables.bundle.css" rel="stylesheet" type="text/css" />

Any ideas on how to fix it?


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (4)


I've realized that I have note added the path that I said works fine. It was:

[22/Feb/2023 10:59:45] "GET /static/plugins/global/plugins.bundle.js HTTP/1.1" 200 3705491



Hi Giedrius

This issue happens because of the missing source map files. (toastr.js.map, pdfmake.min.js.map, etc.)
We will fix it in the bundle file.

Thanks



Great thanks - do you have a view on when the fix is going to be ready?

By the way, I am not sure if this is related, but I am also getting a bunch if type errors:

Uncaught TypeError: s is undefined
updateFieldStatus http://localhost:8000/static/plugins/global/plugins.bundle.js:26425
revalidateField http://localhost:8000/static/plugins/global/plugins.bundle.js:26425
initForm http://localhost:8000/static/js/custom/utilities/modals/new-target.js:26
trigger http://localhost:8000/static/plugins/global/plugins.bundle.js:57962
triggerChangeEvent http://localhost:8000/static/plugins/global/plugins.bundle.js:57962
debouncedUpdateTimeout http://localhost:8000/static/plugins/global/plugins.bundle.js:57962



Hi Giedrius

We will try to fix it as soon as possible and include it in the next release. You do not need to worry. It's just some warnings in the console log. It should not affect the front-end presentation. The source map is used for development.

This is probably a different error. How can we reproduce it? Do you have modified anything in the file or you have rebuilt the assets? Using which tool, either gulp or webpack?

Uncaught TypeError: s is undefined


Thanks


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(