The New Way to Build! Introducing ReUI — the developer platform for agentic UI with shadcn/ui
Learn More

scripts.bundle.js:7 ERROR


Hi! I installed Angular on my new website, but I'm using the HTML version from this theme and apply the theme manually by copying the design I need.
Header and sidebar animations don't work.
The console show this error:
Uncaught TypeError: Cannot read properties of null (reading 'on')
at Object.init (scripts.bundle.js:7:29077)
at scripts.bundle.js:7:29263
at Object.onDOMContentLoaded (scripts.bundle.js:7:17623)
at scripts.bundle.js:7:29218

Notes: plugins.bundle.js works fine.

Thank you in advance.


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 (2)


I too have this exact error in a Vue application when importing the bundle.js file.
Simply making the import in main.js in a blank vue application is enough to make it crash.



Hi,

Not sure how to help with this, cause we have our own Angular app (https://devs.keenthemes.com/metronic). Maybe you can try to download it and merge your case, cause we aren't able to reproduce your case.

Regards,
Keenthemes support


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  :(