I’m assuming you have also declared activestorage as a dependency in your project as a different version. Both versions of the module are included in your node_modules (and webpack bundle) to avoid conflicts.
You could try specifying the matching version of activestorage in your package.json dependencies or using the resolutions field to override the actiontext behavior (with the caveat that the resolution might not work in your version of actiontext).
In an ideal world perhaps the actiontext package would specify activestorage as a peer dependency instead.