-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Build fails on 4.12.0
if project folder name contains ember-data-
#8606
Comments
As far as I can tell builds are working with 4.12 |
Closing because even the reproduction app works when I run |
Very strange. Indeed, when I clone the repo it runs fine. Drove me almost crazy, since the exact same project didn't run in my original folder where I created it. Finally I found that the error occurs when the project folder name includes the string |
4.12.0
4.12.0
if project folder name contains ember-data-
I have also (accidentally) encountered this in Cloning a app repository name containing (This repo is an app generated by ember-cli v5) git clone [email protected]:gilest/ember-data-dir-name.git
cd ember-data-dir-name && pnpm install && pnpm start Output ❌
Cloning same repo into a git clone [email protected]:gilest/ember-data-dir-name.git different-directory
cd different-directory && pnpm install && pnpm start Output ✅
|
@gilest yeah its honestly one of the most curious bugs I've heard in a long time and ordinarily I'd jump at investigating but haven't had time. Would love a report/fix if you can dig around, its... WAT |
Not sure I'll get all the way to a fix but it occurs...
NodeWrapper is something in Broccoli maybe? Yes, error thrown from here. 🤷🏻 opened a Broccoli issue broccolijs/broccoli/issues/503 |
Running into the same issue. My addon's name is |
@bertdeblock think you could dig into the broccoli side a bit? |
The only EmberData code I could imagine might interplay to result in this has existed a long time. It's this check: but reading that I don't see how it could affect. |
@runspired I've been looking into it a bit, but haven't found anything yet. Might continue looking at it today. |
Build fails on
4.12.0
Reproduction
ember new ember-data-bug --lang en
usingember-cli: 4.12.1
node: 18.13.0
ember-data
to4.12.0
[NodeWrapper:8 /Users/myuser/ember-data-bug/tests] is not a SourceNode
I also tried to upgrade all dependencies to latest and pin them in my reproduction here: https://github.com/dagroe/ed-bug-reproduction
Description
I tried a bunch of different combinations, e.g. plain new ember install, upgrade all to latest, upgrade everything to latest but set
ember-source: 4.12.0
. Triedyarn
andnpm
installs.Everything works fine on
4.11.3
but fails with the error above on4.12.0
Versions
The text was updated successfully, but these errors were encountered: