Odoo Installation on Mac Could Not Execute Command LESSC

后端 未结 3 1168
后悔当初
后悔当初 2020-12-18 15:56

So I have a mac running 10.11.4 (El Capitan).

I followed this tutorial: http://kiattipong.blogspot.com/2015/05/setup-odoo-development-on-os-x-with.html?showComment=1

3条回答
  •  有刺的猬
    2020-12-18 16:45

    Lessc install

    This error occurs almost every time with a fresh installation of Odoo. (Especially with Ubuntu 12.04)

    1. First run these three commands in your terminal.
    sudo apt-get install python-software-properties
    sudo apt-add-repository ppa:chris-lea/node.js
    sudo apt-get update
    
    1. Then you install nodejs:
    sudo apt-get install nodejs
    
    1. You can then check version of nodejs using:
    node -v
    
    1. It should be at least greater than > 0.10
    npm -v
    

    Should return a version at least > 1.4

    1. Then finally execute the following command, whick will update npm to a newer version as well as install the less plugin:
    sudo npm install -g npm
    sudo npm install -g less less-plugin-clean-css
    

    pypdf for the second error

    sudo apt-get update
    sudo apt-get install python-pypdf
    

提交回复
热议问题