Pular para o conteúdo
Odoo Menu
  • Entrar
  • Experimente grátis
  • Aplicativos
    Finanças
    • Financeiro
    • Faturamento
    • Despesas
    • Planilhas (BI)
    • Documentos
    • Assinar Documentos
    Vendas
    • CRM
    • Vendas
    • PDV Loja
    • PDV Restaurantes
    • Assinaturas
    • Locação
    Websites
    • Criador de Sites
    • e-Commerce
    • Blog
    • Fórum
    • Chat ao Vivo
    • e-Learning
    Cadeia de mantimentos
    • Inventário
    • Fabricação
    • PLM - Ciclo de Vida do Produto
    • Compras
    • Manutenção
    • Qualidade
    Recursos Humanos
    • Funcionários
    • Recrutamento
    • Folgas
    • Avaliações
    • Indicações
    • Frota
    Marketing
    • Redes Sociais
    • Marketing por E-mail
    • Marketing por SMS
    • Eventos
    • Automação de Marketing
    • Pesquisas
    Serviços
    • Projeto
    • Planilhas de Horas
    • Serviço de Campo
    • Central de Ajuda
    • Planejamento
    • Compromissos
    Produtividade
    • Mensagens
    • Aprovações
    • Internet das Coisas
    • VoIP
    • Conhecimento
    • WhatsApp
    Aplicativos de terceiros Odoo Studio Plataforma Odoo Cloud
  • Setores
    Varejo
    • Loja de livros
    • Loja de roupas
    • Loja de móveis
    • Mercearia
    • Loja de ferramentas
    • Loja de brinquedos
    Comida e hospitalidade
    • Bar e Pub
    • Restaurante
    • Fast Food
    • Hospedagem
    • Distribuidor de bebidas
    • Hotel
    Imóveis
    • Imobiliária
    • Escritório de arquitetura
    • Construção
    • Administração de propriedades
    • Jardinagem
    • Associação de proprietários de imóveis
    Consultoria
    • Escritório de Contabilidade
    • Parceiro Odoo
    • Agência de marketing
    • Escritório de advocacia
    • Aquisição de talentos
    • Auditoria e Certificação
    Fabricação
    • Têxtil
    • Metal
    • Móveis
    • Alimentação
    • Cervejaria
    • Presentes corporativos
    Saúde e Boa forma
    • Clube esportivo
    • Loja de óculos
    • Academia
    • Profissionais de bem-estar
    • Farmácia
    • Salão de cabeleireiro
    Comércio
    • Handyman
    • Hardware e Suporte de TI
    • Sistemas de energia solar
    • Sapataria
    • Serviços de limpeza
    • Serviços de climatização
    Outros
    • Organização sem fins lucrativos
    • Agência Ambiental
    • Aluguel de outdoors
    • Fotografia
    • Aluguel de bicicletas
    • Revendedor de software
    Navegar por todos os setores
  • Comunidade
    Aprenda
    • Tutoriais
    • Documentação
    • Certificações
    • Treinamento
    • Blog
    • Podcast
    Empodere a Educação
    • Programa de educação
    • Scale Up! Jogo de Negócios
    • Visite a Odoo
    Obtenha o Software
    • Baixar
    • Comparar edições
    • Releases
    Colaborar
    • Github
    • Fórum
    • Eventos
    • Traduções
    • Torne-se um parceiro
    • Serviços para parceiros
    • Cadastre seu escritório contábil
    Obtenha os serviços
    • Encontre um parceiro
    • Encontre um Contador
    • Conheça um consultor
    • Serviços de Implementação
    • Referências de Clientes
    • Suporte
    • Upgrades
    Github YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Faça uma demonstração
  • Preços
  • Ajuda

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

  • CRM
  • e-Commerce
  • Financeiro
  • Inventário
  • PoS
  • Projeto
  • MRP
All apps
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
Ajuda

Odoo 10 after instalation problem with less

Inscrever

Seja notificado quando houver atividade nesta publicação

Esta pergunta foi sinalizada
10lesslessc
8 Respostas
18105 Visualizações
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
Cancelar
Avatar
Ritesh Bambhaniya
Melhor resposta

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
Cancelar
Avatar
Philippe Thuaud
Melhor resposta

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
Cancelar
Avatar
Viindoo Technology Joint Stock Company
Melhor resposta

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
Cancelar
Avatar
Maduka Sopulu
Melhor resposta

Simply run

*** sudo ln nodejs node

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


You RAM has nothing to do with the issue

0
Avatar
Cancelar
Avatar
Rohit Ramnani (ror)
Melhor resposta
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
Cancelar
Avatar
Imran
Melhor resposta

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

Regards,

Imran

0
Avatar
Cancelar
Avatar
Jorge Dominguez
Autor Melhor resposta

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

0
Avatar
Cancelar
Avatar
Kabeer KB
Melhor resposta

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
Cancelar
Está gostando da discussão? Não fique apenas lendo, participe!

Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!

Inscreva-se
Publicações relacionadas Respostas Visualizações Atividade
How can I get lessc working on CentOS 7? Resolvido
less lessc
Avatar
1
jan. 17
8441
Page loading issue with less Resolvido
less lessc odoo10
Avatar
Avatar
1
jul. 18
5739
local imprt 'fa.less' is forbidden for security reasons.
less
Avatar
0
nov. 18
4380
How can I manage LESS files over multiple modules?
less
Avatar
Avatar
2
out. 18
5603
Could not execute command 'lessc' Resolvido
error 404 less lessc v10
Avatar
Avatar
2
jun. 17
19944
Comunidade
  • Tutoriais
  • Documentação
  • Fórum
Open Source
  • Baixar
  • Github
  • Runbot
  • Traduções
Serviços
  • Odoo.sh Hosting
  • Suporte
  • Upgrade
  • Desenvolvimentos personalizados
  • Educação
  • Encontre um Contador
  • Encontre um parceiro
  • Torne-se um parceiro
Sobre nós
  • Nossa empresa
  • Ativos da marca
  • Contato
  • Empregos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidade
  • Segurança
الْعَرَبيّة 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 é um conjunto de aplicativos de negócios em código aberto que cobre todas as necessidades de sua empresa: CRM, comércio eletrônico, contabilidade, estoque, ponto de venda, gerenciamento de projetos, etc.

A proposta de valor exclusiva Odoo é ser, ao mesmo tempo, muito fácil de usar e totalmente integrado.

Site feito com

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