Introducing ReUI:Open-source UI components and apps built with React, Next.js and Tailwind CSS
Browse ReUI

Error running npm run dev


When Trying to install starter kit of Metronic laravel theme i am getting following error:
TypeError: object null is not iterable (cannot read property Symbol(Symbol.iterator))
at C:\Users\Kashif\Downloads\themeforest-Y9tF6thq-metronic-responsive-admin-dashboard-template\laravel\laravel_demo1\starterkit\webpack.mix.js:130:24


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


Enhance your security with reliable
Armed Security Services Rowlett, TX. From commercial properties to private events, these services offer expert solutions for situations that demand an elevated level of security.



Rely on our professional property maintenance services in Georgia for comprehensive and efficient solutions.



Our Affordable office relocation services Chula Vista offer budget-friendly solutions without compromising on quality for your office move.



Hi Kashif,

As a workaround, can you please comment this part of code block in the file starterkit/webpack.mix.js, somewhere near line of 129 to 132?


// glob.sync("node_modules/+(@fortawesome|socicon|line-awesome|bootstrap-icons)/**/*.+(woff|woff2|eot|ttf)").forEach(file => {
// const [, folder] = file.match(/node_modules\/(.*?)\//);
// mix.copy(file, `public/assets/plugins/global/fonts/${folder}/${path.basename(file)}`);
// });


Thanks



Hi Kashif Mohammad

May I know which version of Metronic Laravel you are currently using? The issue you mentioned has been addressed and fixed in v8.2.0. Therefore, updating to the latest version should resolve the problem.

If you are not using v8.2.0, please consider updating to this version to ensure that the issue is resolved.

Thank you for your attention to this matter.

Best regards



Hi Faizal
Thanks for your reply, I am using latest version of Laravel, node and npm.


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