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
npm install ends with "npm ERR! Cannot read property '0' of undefined" #601
Comments
@maurelian did you try re-installing all node modules? |
also, can you install the previous version: |
closing it, please re-open if the issue persists |
Long story short: delete node_modules folder and package-lock.json file. Duplicate of npm/npm#17858 and npm/npm#18042 |
same issues |
Also be sure that you are simply not running a build watch. That was my issue. |
Just got that error after any try to use node 8.15.1 and npm 6.9.0 either via nvm or viaoffical node installer. |
Hi, I logged the what we are receiving on AppData\Roaming\npm\node_modules\npm\lib\unbuild.js:61:24 file and found that for some libraries I was getting package information without the name. |
Certainly no thorough and persistent solution, but patching my /usr/local/lib/node_modules/npm/lib/unbuild.js:61 to
|
still seeing this issue in node 10.13.0 with npm 6.4.1 |
@rkretzer Thank you so much. You've saved my life. |
What version of Ajv are you using? Does the issue happen if you use the latest version?
5.2.4
Yes.
Expected behavior
I can install AJV using npm
Observed behavior
I cannot install it.
Logs:
2017-10-22T15_44_19_461Z-debug.log
The text was updated successfully, but these errors were encountered: