Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Restauration & Hôtellerie
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brasserie
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Commerce
    • Bricoleur
    • Matériel informatique & support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Parcourir toutes les industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenez partenaire
    • Services pour partenaires
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

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

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

Odoo 10 after instalation problem with less

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
10lesslessc
8 Réponses
18382 Vues
Avatar
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
Avatar
Ignorer
Avatar
Ritesh Bambhaniya
Meilleure réponse

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
Avatar
Ignorer
Avatar
Philippe Thuaud
Meilleure réponse

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
Avatar
Ignorer
Avatar
Viindoo Technology Joint Stock Company
Meilleure réponse

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
Avatar
Ignorer
Avatar
Maduka Sopulu
Meilleure réponse

Simply run

*** sudo ln nodejs node

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


You RAM has nothing to do with the issue

0
Avatar
Ignorer
Avatar
Rohit Ramnani (ror)
Meilleure réponse
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
Avatar
Ignorer
Avatar
Imran
Meilleure réponse

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

Regards,

Imran

0
Avatar
Ignorer
Avatar
Jorge Dominguez
Auteur Meilleure réponse

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

0
Avatar
Ignorer
Avatar
Kabeer KB
Meilleure réponse

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
Avatar
Ignorer
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
How can I get lessc working on CentOS 7? Résolu
less lessc
Avatar
1
janv. 17
8640
Page loading issue with less Résolu
less lessc odoo10
Avatar
Avatar
1
juil. 18
5947
local imprt 'fa.less' is forbidden for security reasons.
less
Avatar
0
nov. 18
4521
How can I manage LESS files over multiple modules?
less
Avatar
Avatar
2
oct. 18
5796
Could not execute command 'lessc' Résolu
error 404 less lessc v10
Avatar
Avatar
2
juin 17
20195
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenez partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة 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 est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

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