Page 1 of 1
Error loading theme, cannot find "theme.css"
Posted: 03 Feb 2018, 03:13
by makesoftware
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.
Re: Error loading theme, cannot find "theme.css"
Posted: 09 Feb 2018, 11:40
by kubrasulukan
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,
Re: Error loading theme, cannot find "theme.css"
Posted: 18 Feb 2018, 21:18
by mert.sincan
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,
Re: Error loading theme, cannot find "theme.css"
Posted: 22 Jan 2019, 18:40
by duongcanhhd
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"
Re: Error loading theme, cannot find "theme.css"
Posted: 23 Jan 2019, 14:56
by mert.sincan
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