Introducing CrudHunt:Open-source Full-stack CRUDs for Next.js by KeenThemes
Browse CrudHunt

Metronic 8.0.36 & Laravel 9 - window.ignite is not a function


I'm developping a laravel project with the latest version of Metronic 8 theme (8.0.36)
For the upgrade to work properly I had to reverse the webpack.mix.js to a previous syntax
From : mix.scripts(...) to mix.js(...)
the .scripts generated many errors

But with that, I now have a "window.ignite is not a function" error on the console and a blank page whenever a laravel ignition error page must show.

Is it related to the change I had to make in the mix.js file or is this a problem with my ignition package dependency ?

Thanks a lot for your help


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