跳至内容
菜单
此问题已终结
5 回复
28015 查看

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"

形象
丢弃
最佳答案

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!

形象
丢弃

this is a correct,great

最佳答案

please install below package
pip3 install libsass==0.17.0

形象
丢弃

This is help to correct style error in odoo 15 .

最佳答案

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!

形象
丢弃
编写者 最佳答案

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)

形象
丢弃
最佳答案

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


形象
丢弃
相关帖文 回复 查看 活动
4
2月 24
6537
3
3月 24
3002
0
11月 22
2085
0
2月 22
3522
2
2月 22
5727