İçereği Atla
Menü
Bu soru işaretlendi
6 Cevaplar
6109 Görünümler

I just tried to clone odoo 9 from the git repository with the commit 2a89c926ecd7d60eaed65af9f7708780ea6982a8 with the command

    git clone https://github.com/odoo/odoo.git

Then installed lessc, npm and nodejs. I also created the symlinks to node and lessc. When I try to run odoo it now brings me the message: 

    2015-12-13 00:13:22,111 17969 WARNING gut8_9 openerp.addons.base.ir.ir_qweb: This error occured while compiling the bundle    'web.assets_common' containing:

    - /web/static/src/less/mimetypes.less

    - /web/static/src/less/animation.less

    - /web_planner/static/src/less/web_planner_common.less

    - /web_editor/static/src/less/web_editor.less

    2015-12-13 00:13:22,232 17969 WARNING gut8_9 openerp.addons.base.ir.ir_qweb: This error occured while compiling the bundle 'web.assets_backend' containing:

    - /website/static/src/less/import_bootstrap.less

    - /web/static/src/less/variables.less

    - /web/static/src/less/enterprise_compatibility.less

    - /web/static/src/less/utils.less

    - /web/static/src/less/modal.less

    - /web/static/src/less/notification.less

    - /base_import/static/src/less/import.less

    - /web_tip/static/src/less/tip.less

    - /web_calendar/static/src/less/web_calendar.less

    - /web_diagram/static/src/less/diagram_view.less

    - /web_kanban/static/src/less/kanban_dashboard.less

    - /web_kanban/static/src/less/kanban_view.less

    - /web_settings_dashboard/static/src/less/dashboard.less


And also in the browser it shows the exact message. I have the assumption that there is some path problem since it seems like odoo looks in the root directory `/` for the less files which are obviously not there. Did any of you experience the same? What can I do against? Can I somehow force a reload of the files?


Regards,

F

Avatar
Vazgeç

Did you follow the instructions for installing nodejs here: https://www.odoo.com/documentation/9.0/setup/install.html

Üretici

Yes, I followed the instructions and nodeJS is installed as it shows the version v0.10.25. Is there any minimum version to run odoo?

En İyi Yanıt

Hello,

You can try Yenthe666 script installation :

https://github.com/Yenthe666/InstallScript/blob/9.0/odoo_install.sh



Regards,

Avatar
Vazgeç

I always like the fact to see my script bubbling up somewhere. :) +1

En İyi Yanıt

Hello I tried Option 1 mentioned in the following link and it works for me.

http://www.hostingadvice.com/how-to/install-nodejs-ubuntu-14-04/

Use apt-get to install the build-essential package:

sudo apt-get install build-essential checkinstall

Employ a similar process to get libssl-dev:

sudo apt-get install libssl-dev

You can install and update Node Version Manager, or nvm, by using cURL:

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.0/install.sh | bash

You will be asked to close and reopen the terminal. To verify that nvm has been successfully installed after you reopen the terminal, use:

command -v nvm

That command will output nvm if the installation worked.

To download, compile and install the latest version of Node:

nvm install 5.0

In any new shell, you’ll need to tell nvm which version to use:

nvm use 5.0

To set a default Node.js version to be used in any new shell, use the alias default:

nvm alias default node

Avatar
Vazgeç
Üretici En İyi Yanıt

Solved,


the problem was, that nodejs was not in the $PATH variable and therefore couldn't be found. I set up an alias and now it works. Thanks for the help, this brought me on the right track.

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Şub 16
3088
10
Mar 16
45523
3
May 24
18949
1
Ağu 16
3755
3
Nis 21
8467