Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odpovědi
1116 Zobrazení

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
Zrušit
Nejlepší odpověď

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

pip3 install libsass==0.20.1

Avatar
Zrušit
Autor Nejlepší odpověď

Thak you sir 

solve the error

Avatar
Zrušit
Nejlepší odpověď

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
Zrušit