Skip to Content
Odoo Meniu
  • Autentificare
  • Try it free
  • Aplicații
    Finanțe
    • Contabilitate
    • Facturare
    • Cheltuieli
    • Spreadsheet (BI)
    • Documente
    • Semn
    Vânzări
    • CRM
    • Vânzări
    • POS Shop
    • POS Restaurant
    • Abonamente
    • Închiriere
    Site-uri web
    • Constructor de site-uri
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Lanț Aprovizionare
    • Inventar
    • Producție
    • PLM
    • Achiziție
    • Maintenance
    • Calitate
    Resurse Umane
    • Angajați
    • Recrutare
    • Time Off
    • Evaluări
    • Referințe
    • Flotă
    Marketing
    • Social Marketing
    • Marketing prin email
    • SMS Marketing
    • Evenimente
    • Automatizare marketing
    • Sondaje
    Servicii
    • Proiect
    • Foi de pontaj
    • Servicii de teren
    • Centru de asistență
    • Planificare
    • Programări
    Productivitate
    • Discuss
    • Aprobări
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Aplicații Terțe Odoo Studio Platforma Odoo Cloud
  • Industrii
    Retail
    • Book Store
    • Magazin de îmbrăcăminte
    • Magazin de Mobilă
    • Magazin alimentar
    • Magazin de materiale de construcții
    • Magazin de jucării
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Distribuitor de băuturi
    • Hotel
    Proprietate imobiliara
    • Real Estate Agency
    • Firmă de Arhitectură
    • Construcție
    • Estate Managament
    • Grădinărit
    • Asociația Proprietarilor de Proprietăți
    Consultanta
    • Firma de Contabilitate
    • Partener Odoo
    • Agenție de marketing
    • Law firm
    • Atragere de talente
    • Audit & Certification
    Producție
    • Textil
    • Metal
    • Mobilier
    • Mâncare
    • Brewery
    • Cadouri corporate
    Health & Fitness
    • Club Sportiv
    • Magazin de ochelari
    • Centru de Fitness
    • Wellness Practitioners
    • Farmacie
    • Salon de coafură
    Trades
    • Handyman
    • IT Hardware and Support
    • Asigurare socială de stat
    • Cizmar
    • Servicii de curățenie
    • HVAC Services
    Altele
    • Organizație nonprofit
    • Agenție de Mediu
    • Închiriere panouri publicitare
    • Fotografie
    • Închiriere biciclete
    • Asigurare socială
    Browse all Industries
  • Comunitate
    Învăță
    • Tutorials
    • Documentație
    • Certificări
    • Instruire
    • Blog
    • Podcast
    Empower Education
    • Program Educațional
    • Scale Up! Business Game
    • Visit Odoo
    Obține Software-ul
    • Descărcare
    • Compară Edițiile
    • Lansări
    Colaborați
    • Github
    • Forum
    • Evenimente
    • Translations
    • Devino Partener
    • Services for Partners
    • Înregistrează-ți Firma de Contabilitate
    Obține Servicii
    • Găsește un Partener
    • Găsiți un contabil
    • Meet an advisor
    • Servicii de Implementare
    • Referințe ale clienților
    • Suport
    • Actualizări
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obține un demo
  • Prețuri
  • Ajutor

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Contabilitate
  • Inventar
  • PoS
  • Proiect
  • MRP
All apps
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Suport

Odoo 10 after instalation problem with less

Abonare

Primiți o notificare când există activitate la acestă postare

Această întrebare a fost marcată
10lesslessc
8 Răspunsuri
18371 Vizualizări
Imagine profil
Jorge Dominguez
Hello guys, after installing Odoo 10 directly on my Mac and after creating the db that I want to use I get this error, and I don't know how to fix it:

2017-06-16 20:16:49,998 75226 WARNING odoo-dev odoo.addons.base.ir.ir_qweb.assetsbundle: /Users/Jorge/.rvm/gems/ruby-2.3.1/gems/less-2.6.0/bin/lessc:83:in `<top (required)>': invalid option: --no-js (OptionParser::InvalidOption)
 from /Users/Jorge/.rvm/gems/ruby-2.3.1/bin/lessc:23:in `load'
 from /Users/Jorge/.rvm/gems/ruby-2.3.1/bin/lessc:23:in `<main>'
 from /Users/Jorge/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `eval'
 from /Users/Jorge/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `<main>'
This error occured while compiling the bundle 'web.assets_common' containing:
    - /web/static/lib/bootstrap/less/variables.less
    - /web/static/lib/bootstrap/less/mixins/vendor-prefixes.less
    - /web/static/lib/bootstrap/less/mixins/buttons.less
    - /web/static/src/less/variables.less
    - /web/static/src/less/utils.less
    - /web_editor/static/src/less/web_editor.variables.less
    - /web/static/src/less/fonts.less
    - /web/static/src/less/navbar.less
    - /web/static/src/less/mimetypes.less
    - /web/static/src/less/animation.less
    - /web/static/lib/bootstrap-datetimepicker/src/less/bootstrap-datetimepicker.less
    - /web_planner/static/src/less/web_planner_common.less
    - /web_tour/static/src/less/tip.less
    - /web_tour/static/src/less/keyframes.less 2017-06-16 20:16:50,628 75226 WARNING odoo-dev odoo.addons.base.ir.ir_qweb.assetsbundle: /Users/Jorge/.rvm/gems/ruby-2.3.1/gems/less-2.6.0/bin/lessc:83:in `<top (required)>': invalid option: --no-js (OptionParser::InvalidOption)
 from /Users/Jorge/.rvm/gems/ruby-2.3.1/bin/lessc:23:in `load'
 from /Users/Jorge/.rvm/gems/ruby-2.3.1/bin/lessc:23:in `<main>'
 from /Users/Jorge/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `eval'
 from /Users/Jorge/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `<main>'
This error occured while compiling the bundle 'web.assets_backend' containing:
    - /web/static/lib/bootstrap/less/variables.less
    - /web/static/lib/bootstrap/less/mixins/vendor-prefixes.less
    - /web/static/lib/bootstrap/less/mixins/buttons.less
    - /web/static/src/less/variables.less
    - /web/static/src/less/utils.less
    - /web_editor/static/src/less/web_editor.variables.less
    - /web/static/src/less/import_bootstrap.less
    - /web/static/src/less/bootstrap_overridden.less
    - /web/static/src/less/webclient_extra.less
    - /web/static/src/less/webclient_layout.less
    - /web/static/src/less/webclient.less
    - /web/static/src/less/datepicker.less
    - /web/static/src/less/progress_bar.less
    - /web/static/src/less/dropdown.less
    - /web/static/src/less/tooltip.less
    - /web/static/src/less/debug_manager.less
    - /web/static/src/less/control_panel.less
    - /web/static/src/less/control_panel_layout.less
    - /web/static/src/less/views.less
    - /web/static/src/less/pivot_view.less
    - /web/static/src/less/graph_view.less
    - /web/static/src/less/tree_view.less
    - /web/static/src/less/form_view_layout.less
    - /web/static/src/less/form_view.less
    - /web/static/src/less/list_view.less
    - /web/static/src/less/search_view.less
    - /web/static/src/less/modal.less
    - /web/static/src/less/data_export.less
    - /web/static/src/less/switch_company_menu.less
    - /web/static/src/less/dropdown_extra.less
    - /web/static/src/less/views_extra.less
    - /web/static/src/less/form_view_extra.less
    - /web/static/src/less/form_view_layout_extra.less
    - /web/static/src/less/search_view_extra.less
    - /base_import/static/src/less/base_import.less
    - /web_calendar/static/src/less/web_calendar.less
    - /web_diagram/static/src/less/diagram_view.less
    - /web_editor/static/src/less/web_editor.common.less
    - /web_editor/static/src/less/web_editor.backend.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 2017-06-16 20:16:51,102 75226 WARNING odoo-dev odoo.addons.base.ir.ir_qweb.assetsbundle: /Users/Jorge/.rvm/gems/ruby-2.3.1/gems/less-2.6.0/bin/lessc:83:in `<top (required)>': invalid option: --no-js (OptionParser::InvalidOption)
 from /Users/Jorge/.rvm/gems/ruby-2.3.1/bin/lessc:23:in `load'
 from /Users/Jorge/.rvm/gems/ruby-2.3.1/bin/lessc:23:in `<main>'
 from /Users/Jorge/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `eval'
 from /Users/Jorge/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `<main>'
This error occured while compiling the bundle 'web_editor.summernote' containing:
    - /web_editor/static/lib/summernote/src/less/summernote.less 2017-06-16 20:16:51,467 75226 WARNING odoo-dev odoo.addons.base.ir.ir_qweb.assetsbundle: /Users/Jorge/.rvm/gems/ruby-2.3.1/gems/less-2.6.0/bin/lessc:83:in `<top (required)>': invalid option: --no-js (OptionParser::InvalidOption)
 from /Users/Jorge/.rvm/gems/ruby-2.3.1/bin/lessc:23:in `load'
 from /Users/Jorge/.rvm/gems/ruby-2.3.1/bin/lessc:23:in `<main>'
 from /Users/Jorge/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `eval'
 from /Users/Jorge/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `<main>'
This error occured while compiling the bundle 'web_editor.assets_editor' containing:
    - /web/static/lib/bootstrap/less/variables.less
    - /web/static/lib/bootstrap/less/mixins/vendor-prefixes.less
    - /web/static/lib/bootstrap/less/mixins/buttons.less
    - /web/static/src/less/variables.less
    - /web/static/src/less/utils.less
    - /web_editor/static/src/less/web_editor.variables.less
    - /web_editor/static/src/less/web_editor.ui.less
    - /web_editor/static/src/less/web_editor.ui.components.less
0
Imagine profil
Abandonează
Imagine profil
Ritesh Bambhaniya
Cel mai bun răspuns

pip3 install -r odoo10/odoo/requirements.txt

Restart server
Still, an error occurs then fire below command.

sudo npm uninstall -g less
sudo npm install -g less@3.10.3

3
Imagine profil
Abandonează
Imagine profil
Philippe Thuaud
Cel mai bun răspuns

Hi Guys,


I just made an update of the code pulling from git as usual

Than I restart my odoo server and update the application


After I do this I get the less related error message showing on the screen:

  1. This error occured while compiling the bundle 'web_editor.assets_editor' containing:\A - /web/static/lib/bootstrap/less/variables.less\A - /web/static/lib/bootstrap/less/mixins/vendor-prefixes.less\A - /web/static/lib/bootstrap/less/mixins/buttons.less\A - /web/static/src/less/variables.less\A - /web/static/src/less/utils.less\A - /web_editor/static/src/less/web_editor.variables.less\A - /web_editor/static/src/less/web_editor.ui.less\A - /web_editor/static/src/less/web_editor.ui.components.less"


This is in teh backend view.


On the front end view, I get the following message

  1. "This error occured while compiling the bundle 'website.assets_editor' containing:\A - /web/static/lib/bootstrap/less/variables.less\A - /web/static/lib/bootstrap/less/mixins/vendor-prefixes.less\A - /web/static/lib/bootstrap/less/mixins/buttons.less\A - /web/static/src/less/variables.less\A - /web/static/src/less/utils.less\A - /web_editor/static/src/less/web_editor.variables.less\A - /website/static/src/less/website.edit_mode.less\A - /theme_treehouse/static/src/less/colors.less\A - /theme_treehouse/static/src/less/customize.less"


So I ran the following command thining that less was update

sudo npm install -g less less-plugin-clean-css

And restarted again the odoo server

But no luck, still the same issue


Anybody having an idea what to do?

The previous update, I did not get this error showing up so I don't understand

No other changes was made apart from update of the code.


Cheers

1
Imagine profil
Abandonează
Imagine profil
Viindoo Technology Joint Stock Company
Cel mai bun răspuns

If anyone still needs this: less version 3.10.3 should best fit Odoo 9, Odoo 10, Odoo 11.

sudo npm install -g less@3.10.3

sudo npm install -g less-plugin-clean-css
0
Imagine profil
Abandonează
Imagine profil
Maduka Sopulu
Cel mai bun răspuns

Simply run

*** sudo ln nodejs node

*** sudo apt-get install --reinstall node-less


You RAM has nothing to do with the issue

0
Imagine profil
Abandonează
Imagine profil
Rohit Ramnani (ror)
Cel mai bun răspuns
Hello \Jorge\ Dominguez\\\
\\
\
\\


please try with following links

 https://gist.github.com/jfie5/7343868 

or 

https://coolestguidesontheplanet.com/running-installing-less-css-osx-10-8-mountain-lion/

I hope it will help for you 


Thank you

0
Imagine profil
Abandonează
Imagine profil
Imran
Cel mai bun răspuns

Hi For mac something like this might be more appropriate : https://treehouse.github.io/installation-guides/mac/node-mac.html

Regards,

Imran

0
Imagine profil
Abandonează
Imagine profil
Jorge Dominguez
Autor Cel mai bun răspuns

Kabeer, thank you for trying. but like i already say im on a Mac. So I cant apt-get :(

0
Imagine profil
Abandonează
Imagine profil
Kabeer KB
Cel mai bun răspuns

install these dependencies  

     sudo apt-get install -y npm

     sudo ln -s /usr/bin/nodejs /usr/bin/node
     sudo npm install -g less less-plugin-clean-css

Hope it will help you.


0
Imagine profil
Abandonează
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Înscrie-te
Related Posts Răspunsuri Vizualizări Activitate
How can I get lessc working on CentOS 7? Rezolvat
less lessc
Imagine profil
1
ian. 17
8629
Page loading issue with less Rezolvat
less lessc odoo10
Imagine profil
Imagine profil
1
iul. 18
5943
local imprt 'fa.less' is forbidden for security reasons.
less
Imagine profil
0
nov. 18
4519
How can I manage LESS files over multiple modules?
less
Imagine profil
Imagine profil
2
oct. 18
5795
Could not execute command 'lessc' Rezolvat
error 404 less lessc v10
Imagine profil
Imagine profil
2
iun. 17
20190
Comunitate
  • Tutorials
  • Documentație
  • Forum
Open Source
  • Descărcare
  • Github
  • Runbot
  • Translations
Servicii
  • Hosting Odoo.sh
  • Suport
  • Actualizare
  • Custom Developments
  • Educație
  • Găsiți un contabil
  • Găsește un Partener
  • Devino Partener
Despre Noi
  • Compania noastră
  • Active de marcă
  • Contactați-ne
  • Locuri de muncă
  • Evenimente
  • Podcast
  • Blog
  • Clienți
  • Aspecte juridice • Confidențialitate
  • Securitate
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo este o suită de aplicații de afaceri open source care acoperă toate nevoile companiei dvs.: CRM, comerț electronic, contabilitate, inventar, punct de vânzare, management de proiect etc.

Propunerea de valoare unică a Odoo este să fie în același timp foarte ușor de utilizat și complet integrat.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now