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
    • Devenir 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
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

After a "could not execute command 'lessc'"

S'inscrire

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

Cette question a été signalée
windowseclipseodoo
4 Réponses
20568 Vues
Avatar
Dalel Rais

Hello,could anyone help me please ! i was facing the could not execute command 'lessc' error (i was running odoo 10 from eclipse in windows)   and then after trying to in install less via nodejs the page still not showing up properly and this is what the console shows :

019-07-31 09:29:12,316 7264 INFO Test odoo.modules.loading: 29 modules loaded in 0.14s, 0 queries
2019-07-31 09:29:12,720 7264 INFO Test odoo.modules.loading: Modules loaded.
2019-07-31 09:29:12,730 7264 INFO Test odoo.addons.base.ir.ir_http: Generating routing map
2019-07-31 09:29:12,892 7264 INFO Test werkzeug: 127.0.0.1 - - [31/Jul/2019 09:29:12] "GET / HTTP/1.1" 200 -
2019-07-31 09:29:13,868 7264 WARNING Test odoo.addons.base.ir.ir_qweb.assetsbundle: 'node' is not recognized as an internal or external command,

operable program or batch file.

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
- /account/static/src/less/account_reconciliation.less
- /account/static/src/less/account_journal_dashboard.less
- /base_import/static/src/less/base_import.less
- /mail/static/src/less/announcement.less
- /mail/static/src/less/client_action.less
- /mail/static/src/less/chat_window.less
- /mail/static/src/less/extended_chat_window.less
- /mail/static/src/less/composer.less
- /mail/static/src/less/chatter.less
- /mail/static/src/less/followers.less
- /mail/static/src/less/thread.less
- /mail/static/src/less/systray.less
- /payment/static/src/less/payment_acquirer.less
- /report/static/src/less/report_backend.less
- /sales_team/static/src/less/sales_team_dashboard.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
2019-07-31 09:29:14,292 7264 INFO Test werkzeug: 127.0.0.1 - - [31/Jul/2019 09:29:14] "GET /web HTTP/1.1" 200 -
2019-07-31 09:29:14,358 7264 INFO Test werkzeug: 127.0.0.1 - - [31/Jul/2019 09:29:14] "GET /web/static/lib/bootstrap/less/mixins/web.assets_backend/buttons.less.css HTTP/1.1" 404 -
2019-07-31 09:29:14,821 7264 INFO Test werkzeug: 127.0.0.1 - - [31/Jul/2019 09:29:14] "GET /web/static/lib/bootstrap/less/mixins/web.assets_backend/vendor-prefixes.less.css HTTP/1.1" 404 -
2019-07-31 09:29:14,822 7264 INFO Test werkzeug: 127.0.0.1 - - [31/Jul/2019 09:29:14] "GET /web/static/src/less/web.assets_backend/utils.less.css HTTP/1.1" 404 -
2019-07-31 09:29:14,822 7264 INFO Test werkzeug: 127.0.0.1 - - [31/Jul/2019 09:29:14] "GET /web/static/lib/bootstrap/less/web.assets_backend/variables.less.css HTTP/1.1" 404 -
2019-07-31 09:29:14,822 7264 INFO Test werkzeug: 127.0.0.1 - - [31/Jul/2019 09:29:14] "GET /web_editor/static/src/less/web.assets_backend/web_editor.variables.less.css HTTP/1.1" 404 -
2019-07-31 09:29:14,831 7264 INFO Test werkzeug: 127.0.0.1 - - [31/Jul/2019 09:29:14] "GET /web/static/src/less/web.assets_backend/variables.less.css HTTP/1.1" 404 -
2019-07-31 09:29:14,832 7264 INFO Test werkzeug: 127.0.0.1 - - [31/Jul/2019 09:29:14] "GET /web/static/src/less/web.assets_backend/import_bootstrap.less.css HTTP/1.1" 404 -
2019-07-31 09:29:15,187 7264 INFO Test werkzeug: 127.0.0.1 - - [31/Jul/2019 09:29:15] "GET /web/static/src/less/web.assets_backend/webclient_extra.less.css HTTP/1.1" 404 -
2019-07-31 09:29:15,190 7264 INFO Test werkzeug: 127.0.0.1 - - [31/Jul/2019 09:29:15] "GET /web/static/src/less/web.assets_backend/webclient.less.css HTTP/1.1" 404 -
2019-07-31 09:29:15,193 7264 INFO Test werkzeug: 127.0.0.1 - - [31/Jul/2019 09:29:15] "GET /web/static/src/less/web.assets_backend/tooltip.less.css HTTP/1.1" 404 -
2019-07-31 09:29:15,194 7264 INFO Test werkzeug: 127.0.0.1 - - [31/Jul/2019 09:29:15] "GET /web/static/src/less/web.asset


0
Avatar
Ignorer
Avatar
Waleed Ali Mohsen
Meilleure réponse

Could you please let us know the command which you use to run Odoo?

To install less in windows:

on Windows,

-  install nodejs

- reboot (to update the PATH)

-  install less using the below command (Open Windows command as Admin):

    npm install -g less

- To check if the less is installed, in windows command write:

Lessc -v

if you got the version, then it's installed.

lessc 3.9.0 (Less Compiler) [JavaScript]


2
Avatar
Ignorer
Avatar
Manish Bohra
Meilleure réponse

Hello,

Try login as root ( or use sudo) and run 

apt-get install node-less

It worked well for me.

Thanks


2
Avatar
Ignorer
Avatar
Ameer Almughalis (Odoo Developer)
Meilleure réponse

To install less in windows first install node js , then after installing use npm to install less using this command in command prompt :

npm install -g less

if that dose not solve the problem install 3.0.4 lees with less-plugin-clean-css use this command:

npm install -g less@3.0.4 less-plugin-clean-css

in some cases you will need antother package manager like yarn or pnpm.

pnpm install -g less@3.0.4 less-plugin-clean-css

I hope that will fix the problem.

1
Avatar
Ignorer
Avatar
Dalel Rais
Auteur Meilleure réponse

yess lessc is installed, but on the top of the page i m getting 

no-js" argument is deprecated, as inline JavaScript is disabled by default. Use "--js" to enable inline JavaScript (not recommended)

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

 

0
Avatar
Ignorer
ignacio valencia

did you solve this?

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é
Running Odoo 10 from eclipse Résolu
windows eclipse odoo
Avatar
Avatar
2
juil. 19
4249
Style error immediately after installing Odoo 10
windows eclipse odoo nodejs
Avatar
0
oct. 21
5730
Style error immediately after installing Odoo 10 on windows
windows eclipse odoo lessc nodejs
Avatar
0
août 19
5429
How to build Odoo 10 for windows as an executable software? Résolu
windows build odoo
Avatar
Avatar
Avatar
Avatar
3
mars 24
20439
ImportError: No module named psycopg2 Résolu
windows debug eclipse
Avatar
Avatar
Avatar
Avatar
5
juil. 20
96080
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
  • Devenir 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 Svenska ภาษาไทย 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