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

HI, I am getting this error after installing Odoo 13 on Ubuntu 

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

Process exited with return code -11
This error occured 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/bs_mixins_overrides.scss
- /web/static/src/scss/utils.scss
- /web/static/src/scss/primary_variables.scss
- /web_editor/static/src/scss/web_editor.variables.scss
- /web_editor/static/src/scss/secondary_variables.scss
- /web/static/src/scss/secondary_variables.scss
- /web/static/lib/bootstrap/scss/_variables.scss
- /web/static/lib/tempusdominus/tempusdominus.scss
- /web/static/src/scss/fonts.scss
- /web/static/src/scss/ui.scss
- /web/static/src/scss/ui_extra.scss
- /web/static/src/scss/navbar.scss
- /web/static/src/scss/mimetypes.scss
- /web/static/src/scss/modal.scss
- /web/static/src/scss/animation.scss
- /web/static/src/scss/rainbow.scss
- /web/static/src/scss/datepicker.scss
- /web/static/src/scss/daterangepicker.scss
- /web/static/src/scss/banner.scss
- /web/static/src/scss/colorpicker.scss
- /web/static/src/scss/translation_dialog.scss
- /web/static/src/scss/keyboard.scss
- /web/static/src/scss/name_and_signature.scss
- /web/static/src/scss/web.zoomodoo.scss
- /web/static/src/scss/fontawesome_overridden.scss
- /web_tour/static/src/scss/tip.scss
- /web_tour/static/src/scss/keyframes.scss"

Avatar
Zrušit
Nejlepší odpověď

You need some python libraries for sass,bootstrap... like Libass librarie (https://github.com/sass/libsass-python/releases)

you can install  all required Python modules for odoo with pip3 to make sure that no file is missing using the file "requirements.txt "(the path of the file is under the odoo directory next to the addons),

pip3 install -r odoo13/odoo/requirements.txt
good luck!

Avatar
Zrušit

this is a correct,great

Nejlepší odpověď

please install below package
pip3 install libsass==0.17.0

Avatar
Zrušit

This is help to correct style error in odoo 15 .

Nejlepší odpověď

it seems that some python libraries for Bootstrap... are missing 

to make sure that all Odoo required modules  are available,you can use pip3 to install these libraries using the file requirements.txt under the "odoo" directory next to the addons directory,

pip3 install -r odoo/requirements.txt

good luck!

Avatar
Zrušit
Autor Nejlepší odpověď

Also getting this issue 


Error:


Traceback:
TypeError: Cannot read property 'getBoundingClientRect' of undefined
at computeFloatOuterWidthWithMargins (http://192.168.2.116:8069/web/content/252-3d5e37d/web.assets_common.js:3922:73)
at _adapt (http://192.168.2.116:8069/web/content/252-3d5e37d/web.assets_common.js:3921:461)
at Object.initAutoMoreMenu (http://192.168.2.116:8069/web/content/252-3d5e37d/web.assets_common.js:3915:533)
at http://192.168.2.116:8069/web/content/253-d559326/web.assets_backend.js:779:242
at async Promise.all (index 2)
at async Promise.all (index 0)

Avatar
Zrušit
Nejlepší odpověď

this occurred when I upgrade nodejs package on server, to fix it.
In terminal:
try to remove libsass library by:


pip uninstall libsass


then install it again:


pip install -U libsass


Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
4
úno 24
6537
3
bře 24
3002
0
lis 22
2085
0
úno 22
3522
2
úno 22
5727