-
Notifications
You must be signed in to change notification settings - Fork 25
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
Update breaks Ember builds for Ember 3.7 #197
Comments
@Redsandro the tests are passing back to Ember 3.4 https://travis-ci.org/shipshapecode/ember-math-helpers, so I think there may be more at play here and/or there is something about 3.7 specifically that doesn't work. |
@rwwagner90 Possibly. I can't figure out why this is happening though. Does the message "Cannot read property 'getHash' of null" |
It does not. There is nothing in https://github.com/shipshapecode/ember-math-helpers/blob/master/addon/helpers/abs.js that uses anything called |
Sorry for not getting back to you earlier. I was traveling. This is definitely still an issue and it's weird that I can get it to work by downgrading I'm a long time Linux user, but Ember feels a bit like Windows in the old days, where over time, updates cause more and more inexplicable errors to the point of needing a fresh install. With Ember Octane out, I think it might be time to do a 'fresh install'. I will close this issue for now. |
@Redsandro if you can reproduce in a small, self contained, app, let me know. |
Happening for us as well
|
@iamareebjamal can you provide any details? Ember version, ember-cli version, custom broccoli stuff you might be doing, etc? |
"ember-cli": "~3.10.1" Using broccoli-persistent-filter The project is open source. This is the PR - fossasia/open-event-frontend#3873 |
My guess would be something with broccoli, babel, or the htmlbars update, but I don't really know. I've been using it without any issues in several projects. It might be that you are using broccoli-funnel and this addon is not compatible with the version or something. @Redsandro thoughts? |
One guess is that a certain dependency is too new. But I'm grasping straws, I couldn't figure it out. v2.10.0...v2.11.0 see |
It's working for 2.11.1 for us. Breaking on latest |
Starts breaking from 2.11.2 |
@iamareebjamal no real changes between those two versions, except maybe ember-cli-babel version v2.11.1...v2.11.2#diff-b9cfc7f2cdf78a7f4b91a753d10865a2R32 Unless you are perhaps using node older than 8.x? We did drop support for node 6 there. |
Node 12. There are other dependency updates as well. But yes, no such code change. Nevertheless, for some reason, babel can't find this module for hashing |
Is it relevant that
Perhaps ember-source used breaks compatibility with older versions of Ember? |
@Redsandro no ember-source is a devDep and does not get shipped. |
Yeah makes sense. It's puzzling. So this issue is now confirmed, but it's hard to figure out why it is occurring. It could very well be an upstream issue, but so far the only plugin that I encountered needed special care (trial and error) when upgrading was I figured it was easiest to reinstall a fresh copy of everything without upgrading for my app and then copy over the relevant files (and edit where necessary). |
It's likely the custom whitelist / blacklist stuff we provide, so you don't have to ship all the helpers. That's the only thing different than any standard addon. I mostly copied it from here https://github.com/DockYard/ember-composable-helpers/blob/master/index.js so maybe we should update things to match theirs more closely and see if it helps. |
Can you guys try 2.13.0 and see if anything is different? |
When we upgraded rest of our dependencies, including the handlebars one, it automatically started working for us, the previous version as well. Unfortunately, that was a busy week and we couldn't notice exactly which dependency upgrade fixed it |
Thank you again @rwwagner90 for looking into this. UpdateNope,
|
I can't provide a range of versions so I don't know up until which version this error occurs, but for Ember 3.7 you'll need
ember-math-helpers
<= 2.10.0.Ember installations with
ember-math-helpers
inpackage.json
configured as ^2.10.0 will break when doing a freshnpm install
.The text was updated successfully, but these errors were encountered: