Closed tacman closed 2 years ago
The work to upgrade to Stimulus 3 has started (see https://github.com/symfony/stimulus-bridge/pull/48 for the upgrade of the bridge, which is merged but not released yet).
Yup - we'll have it done soon - hopefully this week :)
@weaverryan any news, please?
Hopefully this week - everything is done - i'm just waiting on reviews/merges over on symfony/ux from @tgalopin (but it's a busy week with the conference).
Exciting to see the announcement about Stimulus 3 and stimulus bridge.
I must still have a version out of sync, though, because when I try and run encore, I get the following:
yarn encore dev
yarn run v1.22.15
warning ../package.json: No license field
$ /home/tac/survos/projects/bard/node_modules/.bin/encore dev
Running webpack ...
Error: Install stimulus to use enableStimulusBridge()
yarn add stimulus --dev
Obviously, that error message isn't right, it should be the new name now. I've tried reinstalling the recipe, updating all the libraries, etc., but I still can't see where the problem is.
Hmm, I got it to work, but I don't know how, lots of deleting and reinstalling.
This error probably comes from an outdated webpack-encore version, you probably got the newer version when reinstalling.
I think we can now close this PR, feel free to add a message here if there is still an issue.
To reproduce:
Stimulus 3 installs, but yarn encore dev gives the unusual error:
Explicitly installing version 2 works okay.