New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ActionCable npm package renamed #132
Comments
@dark-panda can you tell us what the error was? |
@hopsoft I feel like this needs to be flagged as high priority |
Which in its pre-compiled form looks something akin to this: Or compiled: createConsumer: function(url) {
var ref;
if (url == null) {
url = (ref = this.getConfig("url")) != null ? ref : this.INTERNAL.default_mount_path;
} It appears that it's using its dependency version of ActionCable 5.2.4, but since I upgraded to Rails 6 I'm using ActionCable 6.0.2.2 via the |
Resolved by #135 |
Bug Report
Rails 6.0 renamed the
actioncable
npm package to@rails/actioncable
. We experience errors in production when precompiling our assets due to conflicts between these two versions of ActionCable.Describe the bug
The npm package name for ActionCable needs to be updated. Not sure how this is done when it comes to renaming npm packages, as you may want compatibility with both the new
@rails/actioncable
package as well as the olderactioncable
package.To Reproduce
Use Rails 6 and
@rails/actioncable
instead ofactioncable
.Expected behavior
Shouldn't bomb out.
Screenshots or reproduction
N/A
Versions
StimulusReflex
External tools
Browser
The text was updated successfully, but these errors were encountered: