Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
3 Vastaukset
1178 Näkymät

Style error

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

Could not execute command 'sassc'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/scss/mixins_forwardport.scss
    - /web/static/src/scss/bs_mixins_overrides.scss
    - /web/static/src/legacy/scss/utils.scss
    - /web/static/src/scss/primary_variables.scss
    - /web/static/src/core/notifications/notification.variables.scss
    - /web/static/src/search/control_panel/control_panel.variables.scss
    - /web/static/src/search/search_panel/search_panel.variables.scss
    - /web/static/src/views/form/form.variables.scss
    - /web/static/src/views/kanban/kanban.variables.scss
    - /web/static/src/webclient/burger_menu/burger_menu.variables.scss
    - /web/static/src/webclient/navbar/navbar.variables.scss
    - /base/static/src/scss/onboarding.variables.scss
    - /web_editor/static/src/scss/web_editor.variables.scss
    - /web_editor/static/src/scss/wysiwyg.variables.scss
    - /web/static/src/scss/secondary_variables.scss
    - /web_editor/static/src/scss/secondary_variables.scss
    - /web/static/src/scss/pre_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/src/webclient/navbar/navbar.scss
    - /web/static/src/legacy/scss/ui.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/fontawesome_overridden.scss
    - /web_editor/static/src/js/editor/odoo-editor/src/base_style.scss
    - /web_tour/static/src/scss/tip.scss

Avatar
Hylkää
Paras vastaus

It's an SCSS library issue. Please try installing the required library, then restart and check again. 

pip3 install libsass==0.20.1

Avatar
Hylkää
Tekijä Paras vastaus

Thak you sir 

solve the error

Avatar
Hylkää
Paras vastaus

Hi! I’m new to Odoo and currently trying to set it up locally on Windows. The system starts, but the styles don’t load — I get the following error:

Could not execute command 'sassc'

This happens when trying to install sassc 0.20.1.

It seems to be related to libsass and distutils.msvc9compiler.

Avatar
Hylkää