Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

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 error: status code 500, net::ERR_HTTP_RESPONSE_CODE_FAILURE
- DevTools failed to load source map: Could not load content for HTTP error: status code 500, net::ERR_HTTP_RESPONSE_CODE_FAILURE
- DevTools failed to load source map: Could not load content for 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
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (4)


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



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
revalidateField
initForm
trigger
triggerChangeEvent
debouncedUpdateTimeout



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



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


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(