-
Notifications
You must be signed in to change notification settings - Fork 442
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
breaks when using ember-data 4.8.0 #2461
Comments
SAMPLE_FEATURE_FLAG is not actually defined in this repo. Not sure if it is ember possibly embroider/macros. This could be an issue with many addons being on different versions of embroider/macros. In my own application I have the following trying to fix this. Curious if you try something like this and update to a later (or latest) version if that might help. I used this to fix ember-cli-babel as well. Since ember-cli-mirage specifies a version of mirage, this also lets me use the higher version of mirage without waiting for ember-cli-mirage to update.
|
I also ended up pinning @embroider/macros to 1.9.0 and the error went away. |
Great, This is really an issue all addons have (since so many depend on embroider/macros) and keeping up to date yet supporting older versions |
Per embroider-build/embroider#1077 (comment):
|
Is there a current fix for this or workaround for this? i've tried pinning the resolutions like the above suggestions.. but it has not worked .. i'm stuck at ember 4.8 and data 4.7 😢 |
I currently am on ember data 4.11.3 with the following pins. Had to add ember modifier to them until all the addons Im using get updated to 4.0
|
eh.. seems like any resolution i try to pin i get the exact same error.. time to dig through some logs.. thanks though |
@grapho Not sure if this is helpful, but it wasn't working for me either. Turns out "resolutions" is yarn specific, and if you're using npm you have to use "overrides" instead. |
Thats a shame that npm does not use the same section name. Any idea if pnpm has the capability and what word they use? |
Looks like pnpm has pnpm.overrides |
Had same error, using |
@st-h anything else actionable here or should we close this? |
Please feel free to close. Sorry, but I no longer use mirage. |
For clarification, do you no longer use mirage? or use mirage just not this addon? If you no longer use mirage, what have you replaced it with? As an FYI I still use mirage, but no longer use this addon. |
If anyone still looking for a solution - try locking @embroider/macros and @embroider/utils to Tested with ember-data |
I upgraded ember-data from 4.7 to 4.8.0. When building the app, I see the following build error, which traces back to ember-cli-mirage. Downgrading ember-data to 4.7.0 fixes the issue.
The text was updated successfully, but these errors were encountered: