Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

364
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!