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
Error with ember-private-api.js and __loader #1378
Comments
did your lockfile change? Try the following:
embroider/packages/util/package.json Line 35 in 00ec2e7
So the ember-source that should be used should (maybe isn't!) be the one that is used from the app. One last thing to try may be to see if the upcoming release of On this project, I update a branch using unstable embroider nightly so I can see what's going on, if I need to -- here is the workflow/script that helps update all those dependencies https://github.com/NullVoxPopuli/limber/blob/main/.github/workflows/preview-embroider-upgrade.yml
|
The super interesting thing to me is I just created a PR based off of Will give the other options a go! @nicolechung is giving above a try One other interesting thing: I can't reproduce any of this locally, only in CI 🙃 |
Of note, you're using a floating version of so it's possible that a recent update in pnpm is causing this -- you could verify by updating your local version to the latest (7.30.1 at the time of writing) |
Also, this was a temporary fix for a temporary pnpm problem: https://github.com/CrowdStrike/ember-headless-form/blob/main/.github/actions/pnpm/action.yml#L16 you may want to back that out or remove the custom pnpm action entirely in favor of: https://github.com/NullVoxPopuli/limber/blob/main/.github/workflows/ci.yml#L40 On my own addon: NullVoxPopuli/ember-resources#841, I have issues, but not the one you've reported -- which at least tells me this is more a dependency issue than an embroider one. Correctly reporting errors for these situations is quite hard, and I'm not sure what's best. |
Wow. Thanks a bunch for the info @NullVoxPopuli. It is in fact an issue with |
it may be worth reporting an issue on the pnpm repo |
For some reason this morning across multiple repos I'm getting the following error in our v2 add-ons using embroider optimized in our ember-try configs:
Which points to
embroider/packages/util/addon/ember-private-api.js
Line 18 in 00ec2e7
The ember-try config we are using:
I'm still digging through the code, but I'm curious why it is going this route, when this macro condition should be met as we are using a new-ish version of Ember?
embroider/packages/util/addon/ember-private-api.js
Line 11 in 00ec2e7
Other potentially helpful links:
The text was updated successfully, but these errors were encountered: