-
Notifications
You must be signed in to change notification settings - Fork 3.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
[BUG] ERR! this.idealTree.children.get is not a function #7029
Comments
Just proof of concept. All works fine if modify this line ![]()
|
Seems like perhaps the bug, then, is that it doesn't always contain a Set. Where is it created as an Array? perhaps that can be changed instead. |
It replaced on Array here -> isolated-reifier |
and would wrapping that array in |
Yah, if add something like this: root.children = new Map(root.children.map(c => [c.name, c])) fixes error but looks like it doesn't work correctly because:
: ( |
not new Map, new Set - since you said it's a Set in the other code paths. There may be other places that assume it's an array that also need updating, ofc. |
Actually, there is a
|
Electron Forge doesn't work with npm workspaces. See: #53 And: electron/forge#2306 And: npm/cli#7029 And: npm/rfcs#287 This gets the app working when packaged.
Hi, any update on this issue? |
Can't have two version of a package installed with npm, can't fix it due to this bug :/ |
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
Get an error when try to install dependencies for specific workspace using "linked" strategy
Expected Behavior
Install dependencies only for passed workspace using "linked" strategy
Steps To Reproduce
Environment
The text was updated successfully, but these errors were encountered: