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
[1.6] - meteor npm i - Cannot read property '0' of undefined #9333
Comments
NOTE: I have tried to create a reproduction repo here
it does not demonstrate the same bug... perhaps I need to actually make it work and use the packages in the app code? recommendations on recreation? |
hi, delete your |
@QHose I did that several times, but I never included the So I tried it again Same error:
|
@zeroasterisk In addition to remove the node_modules can you try to remove the package-lock.json |
Looks like this issue has been fixed upstream (npm/npm#17858 (comment)) and is coming in the next npm release. |
This was fixed in npm 5.6.0, which is included with Meteor 1.6.1. Closing - thanks! |
Bug:
I had this when testing
rc
for 1.6 (mentioned in the PR thread)I am now testing the actual 1.6 release, and I'm getting the same thing:
Cannot read property '0' of undefined
This is very similar to #9319 but not exactly the same, not related to lodash/underscore.
npm debug log for:
meteor npm i
http://sebsauvage.net/paste/?ed554c3cb23a93d8#HAsff8J+quOmXQNqnKdARP+leXFhCcZmNO1fdsUSOxI=
npm debug log for:
meteor npm i react-rangeslider --save
http://sebsauvage.net/paste/?127b43824386dd16#8tPHLT4cSWYYyqelzETfsQwBJnv2LuLAzkS4Z72ENQU=
NOTE:
If I trash all meteor linker files and node_modules, I can then run npm commands again
but it errors out again, immediately after:
The text was updated successfully, but these errors were encountered: