-
Notifications
You must be signed in to change notification settings - Fork 3.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
Cannot read property 'length' of undefined (npm 7.0.8) #2134
Comments
Hey @okachynskyy! Sorry to hear you're having troubles. I just tried replicating this error & couldn't on the exact same setup (ie. os/node/npm version). Potentially, another dep you have in your tree is causing the problem or maybe has a peer conflict that can't be resolved (which is what the debug log seems to allude to). Can you try running that install again with either |
Have the same error on both 7.0.8 and 7.0.9 with a completely another setup (Angular 9 project), the error is quite not self-explanatory
|
I have the same problem with the package @angular/core (npm 7.0.9 and nodejs 15.1.0). I used the command : ng update @angular/core : `Using package manager: 'npm' npm ERR! C:\Users\edoua\AppData\Local\npm-cache_logs\2020-11-09T08_10_59_399Z-debug.log |
Same with latest npm (7.0.9) and
But it seems it's happening in the bootstrap phase of lerna, if I adapt the paramters for the install paramter there, it also fails. Same stack trace:
The object that fails (explain-dep.js:68):
it seems the from has no "name" property. |
Can you share your |
Nevermind, found it. Fixed on #2156. |
hope it will be fix soon, have the same error on |
I'm having this issue with all versions >= |
Fixes: #2134 Credit: @isaacs Close: #2156 Reviewed-by: @ruyadorno
An error occurs during the installation of a new package.
Maybe relates to #2116
Full log:
2020-11-06T11_25_39_984Z-debug.log
The text was updated successfully, but these errors were encountered: