Error loading theme, cannot find "theme.css"

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
makesoftware
Posts: 1
Joined: 31 Jan 2018, 18:50

03 Feb 2018, 03:13

Hi,
I followed and re-followed all instructions at https://www.primefaces.org/poseidon/docs.xhtml but the following error still appears.

Error loading theme, cannot find "theme.css" resource of "primefaces-primefaces-poseidon-turquoise" library

Note: I had to add jar with maven, as a local repository.
Hope someone can help me soon.
Thanks.

kubrasulukan
Posts: 87
Joined: 10 Jan 2018, 16:04

09 Feb 2018, 11:40

Hi,
You need to set up sass with this command line;

" sass -w src/main --sourcemap=none "

and you can install sass from here http://sass-lang.com/install

Best Regards,

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

18 Feb 2018, 21:18

Which way are you using theme.jar or theme*.sass files to apply theme to your project? If you want to use theme sass files, you need to provide css files from them using;
sass -w src/main/resources/ --sourcemap=none

Also, Tthese links can help to you;
https://www.dropbox.com/s/s9cle2xqbwbu8 ... t.mp4?dl=0
https://www.dropbox.com/s/gat9a4ym373mi ... t.mp4?dl=0
https://www.dropbox.com/s/2p74g63wldbov ... t.mp4?dl=0

Regards,

duongcanhhd
Posts: 2
Joined: 22 Jan 2019, 18:23

22 Jan 2019, 18:40

i face the same error.
when i run the sass command: sass -w resources/ --sourcemap=none
i receive the error: could not find option or flag "-w"

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

23 Jan 2019, 14:56

I think you use the new sass version. Please try the following command;

Code: Select all

sass --watch src/main/webapp/resources/:src/main/webapp/resources/ --no-source-map

Post Reply

Return to “Poseidon - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests