ColorlibHQ / AdminLTE

AdminLTE - Free admin dashboard template based on Bootstrap 5
https://adminlte.io
MIT License
43.91k stars 18.17k forks source link

[BUG] (Laravel 8 + Vue) cssnano: Error in parsing SVG: Non-whitespace before first tag. #3670

Closed syamsoul closed 3 years ago

syamsoul commented 3 years ago

Describe the bug I use Laravel 8 + Vue ... and I use Admin LTE 3 as the template for my project... When I run npm run watch or npm run dev, there is no problem at all... But when I run npm run production, it give me two errors.

cssnano: Error in parsing SVG: Non-whitespace before first tag.

To Reproduce Steps to reproduce the behavior:

  1. Install Laravel 8
  2. Install Admin LTE 3 via npm
  3. Include the admin lte 3 js and css
  4. run npm run production
  5. it will shows the errors

Expected behavior There's should be no errors at all

Screenshots image

Environment:

danny007in commented 3 years ago

once ask cssnano

REJack commented 3 years ago

Or simply use Laravel-AdminLTE (non Jetstream version) or jetstrap (Jetstream version)

willydbd commented 2 years ago

Hi, how were you able to solve this issue? Facing the same challenge, application ready for production