The problem is apparently @hotwired/stimulus ^3.0. It may be required directly in package.json or e.g. by the new version of stimulus-use. I removed it from package.json and updated the stimulus-use: ^0.24.0-1. After yarn install --force everything works as it should.