Skip to Content
Odoo Menu
  • Prijavi
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

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

  • CRM
  • e-Commerce
  • Knjigovodstvo
  • Zaloga
  • PoS
  • Projekt
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
Pomoč

Odoo 10 after instalation problem with less

Naroči se

Get notified when there's activity on this post

This question has been flagged
10lesslessc
8 Odgovori
18089 Prikazi
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
Opusti
Avatar
Ritesh Bambhaniya
Best Answer

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
Opusti
Avatar
Philippe Thuaud
Best Answer

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
Opusti
Avatar
Viindoo Technology Joint Stock Company
Best Answer

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
Opusti
Avatar
Maduka Sopulu
Best Answer

Simply run

*** sudo ln nodejs node

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


You RAM has nothing to do with the issue

0
Avatar
Opusti
Avatar
Rohit Ramnani (ror)
Best Answer
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
Opusti
Avatar
Imran
Best Answer

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

Regards,

Imran

0
Avatar
Opusti
Avatar
Jorge Dominguez
Avtor Best Answer

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

0
Avatar
Opusti
Avatar
Kabeer KB
Best Answer

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
Opusti
Enjoying the discussion? Don't just read, join in!

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

Prijavi
Related Posts Odgovori Prikazi Aktivnost
How can I get lessc working on CentOS 7? Solved
less lessc
Avatar
1
jan. 17
8429
Page loading issue with less Solved
less lessc odoo10
Avatar
Avatar
1
jul. 18
5721
local imprt 'fa.less' is forbidden for security reasons.
less
Avatar
0
nov. 18
4352
How can I manage LESS files over multiple modules?
less
Avatar
Avatar
2
okt. 18
5582
Could not execute command 'lessc' Solved
error 404 less lessc v10
Avatar
Avatar
2
jun. 17
19922
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة 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 is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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