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
Hi Pierre,laravel-page-speed
does not support Laravel 9 yet. We had to remove it for now. Otherwise, the composer cannot be installed with Laravel 9. It is an optional library for performance. We can add it back after it supports Laravel 9.
Thanks
Hi Faizal !
Thanks for your help, the changes from 8.0.37 fixed the issue.
Unfortunately the plugin laravel-page-speed was not provided in the metronic package even though it was included in the composer.json so i had to remove it manually. Other than that works well, thanks again !
Hi Pierre,
We just updated the Metronic version 8.0.37. Could you please try to update with the latest version? We did improvements with the Laravel 9 updates by removing absolute libraries and updating the dependencies library with Laravel 9 support.
Thanks
Hi !
The library is this one https://github.com/spatie/laravel-ignition
Which uses this other more generic Ignition library https://github.com/spatie/ignition where the js files are (resources/js).
But they are now the default laravel error page handlers, am I the only one with this error once I updated to laravel 9 ?
Thanks a lot for your help
Hi,
Could you please give the link to the ignition library Github? Please check if the library has a JS file from the dist folder.
Thanks