Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
8247 Widoki

Style error

The style compilation failed, see the error below. Your recent actions may be the cause, please try reverting the changes you made.

/usr/local/lib/python3.8/dist-packages/sassc.py:7: FutureWarning: The `sassc` entrypoint is deprecated, please use `pysassc`
  warnings.warn(
Usage: sassc [options] SCSS_FILE [OUT_CSS_FILE]

sassc: error: no such option: --stdin
This error occurred while compiling the bundle 'web.assets_common' containing:
    - /web/static/lib/bootstrap/scss/_functions.scss
    - /web/static/lib/bootstrap/scss/_mixins.scss
    - /web/static/src/legacy/scss/bs_mixins_overrides.scss
    - /web/static/src/legacy/scss/utils.scss
    - /web/static/src/legacy/scss/primary_variables.scss
    - /web_editor/static/src/scss/web_editor.variables.scss
    - /web/static/src/legacy/scss/secondary_variables.scss
    - /web_editor/static/src/scss/secondary_variables.scss
    - /web/static/lib/bootstrap/scss/_variables.scss
    - /web/static/src/legacy/scss/tempusdominus_overridden.scss
    - /web/static/lib/tempusdominus/tempusdominus.scss
    - /web/static/fonts/fonts.scss
    - /web/static/src/legacy/scss/ui.scss
    - /web/static/src/legacy/scss/ui_extra.scss
    - /web/static/src/legacy/scss/navbar.scss
    - /web/static/src/legacy/scss/mimetypes.scss
    - /web/static/src/legacy/scss/modal.scss
    - /web/static/src/legacy/scss/animation.scss
    - /web/static/src/legacy/scss/datepicker.scss
    - /web/static/src/legacy/scss/daterangepicker.scss
    - /web/static/src/legacy/scss/banner.scss
    - /web/static/src/legacy/scss/colorpicker.scss
    - /web/static/src/legacy/scss/popover.scss
    - /web/static/src/legacy/scss/translation_dialog.scss
    - /web/static/src/legacy/scss/keyboard.scss
    - /web/static/src/legacy/scss/name_and_signature.scss
    - /web/static/src/legacy/scss/web.zoomodoo.scss
    - /web/static/src/legacy/scss/color_picker.scss
    - /web/static/src/legacy/scss/fontawesome_overridden.scss
    - /web_tour/static/src/scss/tip.scss

Im getting this error on a new instance of odoo15. 

I tried 

1. pip3 install libsass


2.sudo apt update
sudo apt install sassc

but still doesnt work



Awatar
Odrzuć
Najlepsza odpowiedź

Hi Ciudadano, 

Please install all the requirements for odoo v15 First. You can find the requirements.txt file inside the odoo15 Directory.

You need to just install it first and check again. Run the below command for installing the requirements. It will install all the required libraries.

Like :    pip3 install -r requirements.txt

Or   python3.8 -m pip install -r requirements.txt


Please recheck the requirements are installed based your python version if you have more than one python in your system


If now work then please check here

Hope it will help you.
Thanks and up vote please.

Awatar
Odrzuć

Hi Malay,
I already did before trying to install libsass and sassc and didn't work
but thanks :)

Hi Victor AIjaro,

Please check the requirements are installed according to your python version or not. if you have more than one python in your system then try to install the requirements just like :

python3.8 -m pip install -r requirements.txt

Here use your python version instead of python 3.8

Hope it will help you.
Thanks

Najlepsza odpowiedź

The style compilation failed, see the error below. Your recent actions may be the cause, please try reverting the changes you made.

Error: ".small" failed to @extend "small".
       The selector "small" was not found.
       Use "@extend small !optional" if the extend should be able to fail.
        on line 47 of home/rubies/odoo/odoo16/addons/web/static/lib/bootstrap/scss/_type.scss

please

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
paź 21
8726
0
mar 17
3766
1
lip 15
4883
1
mar 15
4644
4
cze 25
8662