I downloaded the Laravel starter kit from: https://devs.keenthemes.com/metronic/laravel
But it has many JS issues in the console related to scripts.bundle.js
, it seems like ordering is the issue, in which the component JS is getting loaded in script.js:
const glob = require('glob');
// Keenthemes' plugins
var componentJs = glob.sync(`resources/_keenthemes/src/js/components/*.js`) || [];
var coreLayoutJs = glob.sync(`resources/_keenthemes/src/js/layout/*.js`) || [];
module.exports = [
...componentJs,
...coreLayoutJs,
'resources/mix/common/button-ajax.js'
];
Hi James,
We release a new version for Metronic v8 Laravel. Could you please try it if the issue resolved?
http://devs.keenthemes.com/metronic/laravel
Thanks
% npm install
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN:
npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated @babel/plugin-proposal-object-rest-spread@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead.
npm warn deprecated q@1.5.1: You or someone you depend on is using Q, the JavaScript Promise library that gave JavaScript developers strong feelings about promises. They can almost certainly migrate to the native JavaScript promise now. Thank you literally everyone for joining me in this bet against the odds. Be excellent to each other.
npm warn deprecated
npm warn deprecated (For a CapTP with native promises, see @endo/eventual-send and @endo/captp)
npm warn deprecated svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x.
npm warn deprecated popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
Hi kt James
For the JS error in the console log. Could you please try to rebuild the assets using these commands:
npm install
npm run dev
Then proceed with php artisan serve.
We are releasing Metronic updates soon. The fixes will be included.
Thanks
I added another comment. Can you please help with this?
Also, when can I expect an update in the starter package?