-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
[Bug] Some addons fail ember:try scenarios with ember-release (3.25) with loc$$1.sliceStartChars is not a function #19432
Comments
@rwjblue let me know if you need anything else. As a reminder, more code searching only finds the function |
I think this is due to
|
The |
Since these builders are all private API anyways (and we have a few other significant regression issues to deal with), I doubt I'll have the time to dig in and fix it myself. I do think the easiest fix is to update the ember-ast-helpers to use the new syntax, but if someone has the time to make a PR to glimmerjs/glimmer-vm to support the older syntax I'm happy to review + land + back port. |
@rwjblue I'm only taking a quick glance here (as my son uses me as a human jungle gym) and it looks like this is a easy as transferring the old invocation code to the the most up to date code. Am I in the ball park? If so I can make some time to knock this out. |
Ya, that is definitely possible. |
Would be really cool if you can do that. The app on |
same problem with ember-font-awesome |
FWIW - I can't build an ember project that uses |
@trevordevore The fix on ember-ast-helpers, to something like this:
It works! - but you will get another "cant find length on undefined" somewhere else (because some |
Thanks for the info @liancastellon. I ended up removing |
Any updates on this? |
May I know any updates on this? I have an Ember 3.28.1 project with
|
Any workarounds? Getting the same issue with ember-popper... |
Getting this error in Ember 3.28.8. |
error.dump.1894159c13b509344c3566a5fdd1b364.log trying to upgrade from 3.24 to 3.28.8 and ran into the same error. WIP on branch: https://github.com/puzzle/cryptopus/tree/ember-3.28-upgrade any news on how to fix this? I think ember-popper is creating this issue |
Any update on this issue, as more of us start having it when upgrading to 3.28 ? |
@skaverg which version of ember popper are you using? For me, this error was from a package called 'ember-attacher' which used an older version of the ember popper, when updated the ember-attacher to 1.3.0 (which is the latest version), it worked for me (I was upgrading ember-cli from 3.20 to 3.28). It updated the ember-popper to 0.11.3. You may try this. |
Thanks everyone for the pointers. If it helps others: We are working on upgrading ember little by little. Same as @sunn2407 : ember-cli 3.20.3 --> 3.28.6. We use ember-bootstrap heavily which was depending on a previous version of ember-popper (use |
🐞 Describe the Bug
Test fail because as of this writing
loc$$1.sliceStartChars is not a function
. Going deeper🔬 Minimal Reproduction
This pull request shows the error
adopted-ember-addons/ember-light-table#685
😕 Actual Behavior
Going deeper into the stack
🤔 Expected Behavior
It passes tests like all versions before and after ember-source 3.25
➕ Additional Context
Full stack trace:
The text was updated successfully, but these errors were encountered: