jquery-ujs
jquery-ujs copied to clipboard
$.rails undefined with jquery 3.4.0
our automated @depfu yarn updates had some errors in our system-tests.
with jquery 3.4.0 there are some problems with jquery-ujs and other libraries such as bootstrap-datepicker.
i'm not completely sure what is happening there. just leaving this here in case anyone else finds related issues.
it looks like this is because of https://github.com/yarnpkg/yarn/issues/4125
it looks like it got fixed here, but i assume no new version has been released to NPM?
@theflow 👀 i guess that there will be many issues that like that with your js builds
@rafaelfranca could you take a look and verify that this will need a new npm release? thx!
@lucasmazza do you know who can be asked about releasing a new npm version of this?
😿
☝️ ping @rafaelfranca
@phoet hitting the same issue, have you found any workarounds?
@klaustopher editing the yarn.lock by hand...
Hmm, ok .. I'd like to run the jquery update but if this is not possible, then we might need to always stay on 3.3.x ☹️
It is possible, just yarn thinks it should use different versions for your dependencies. If you update and them merge both dependencies in your yarn.lock everything works fine.