Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

366
Visualizações
Error: Install stimulus to use enableStimulusBridge() while using yarn encore dev

I'm trying to install encore in my symfony 5 project, i followed the instructions in the stimulus bridge repository ( https://github.com/symfony/stimulus-bridge ) but when i try to run yarn encore dev this is what i get :

Running webpack ...

Error: Install stimulus to use enableStimulusBridge()

 yarn add stimulus --dev

Do you have any solution to help me ?

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

The problem you are encountering comes from the fact that the Symfony installation need the version 2.0 of stimulus and the line you are using installs the version 3.0. I've had the exact same problem today and reading the details of the logs helped my out:

Some peer dependencies are incorrectly met; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code

Once that line run I found out that the following line:

yarn add stimulus --dev

was installing the latest version. If you run:

yarn add stimulus@2.0 --dev

You should have the correct version.

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda