Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
6 Răspunsuri
6374 Vizualizări

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

Imagine profil
Abandonează

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

Autor

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?

Cel mai bun răspuns

Hello,

You can try Yenthe666 script installation :

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



Regards,

Imagine profil
Abandonează

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

Cel mai bun răspuns

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

Imagine profil
Abandonează
Autor Cel mai bun răspuns

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.

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
0
feb. 16
3340
10
mar. 16
45910
3
mai 24
19314
1
aug. 16
4005
3
apr. 21
8734