Omega 4.0 + Sass 1.45.1 error

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
erickdeoliveiraleal
Posts: 79
Joined: 25 Mar 2013, 13:00

23 Dec 2021, 16:58

I'm trying to compile Omega project with the provided documentations:

Code: Select all

sass --watch src/main/webapp/resources/sass/layout.scss:src/main/webapp/resources/omega-layout/css/layout.css --no-source-map
or

and the output in the console is:
OptionParser::InvalidOption: invalid option: --no-source-map
Did you mean? sourcemap
Use --trace for backtrace.

erickdeoliveiraleal
Posts: 79
Joined: 25 Mar 2013, 13:00

23 Dec 2021, 19:45

I was able to run the command changing to --sourcemap=none but it is generating incomplete resources, when I try to access my index an exceptions is thrown:

Code: Select all

Error loading CSS, cannot find "theme.css" resource of "primefaces-omega-blue" library
plase, provide better and updated docs

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

24 Dec 2021, 12:50

Hi,

Unfortunately, you need to update sass version(dart-sass instead of Ruby sass). The '/' operation is deprecated on Dart Sass. Details;
https://sass-lang.com/documentation/bre ... /slash-div
https://sass-lang.com/install

Then,

Code: Select all

sass --update src/main/webapp/resources:src/main/webapp/resources --no-source-map
mvn clean jetty:run
Best Regards,

Post Reply

Return to “Omega - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests