-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
TypeError: Cannot set property 'getDocsInfo' of undefined #3851
Comments
Every time reply this error, actually. |
Yeah, same here. All our builds are failing because of this error. 3 other people working on different projects are also getting this. |
Can report this too. |
I can't work, because yarn can't execute run dev, it's frustrating. |
This is a duplicate of #3850 |
Drop yarn folks, no reason to use it with npm v5. |
just updated the ubuntu package and having same issue as reported above. Also our builds using the npm's version are failing |
It's because the package |
I run yarn on meteor, and this is what I get.
|
Workaround: |
I released We needed to use lodash toArray because it has a special behavior with emoji that other solutions didn't have, but if that dependency breaks yarn, I guess we can't use it. |
The issue is that the third |
I'm still not sure why the new dependency would've broken yarn (the release works fine), but let me know if anyone finds out something! |
Got the same issue after |
@omnidan It's because your change was a patch release, which yarn permits in its package.json Anyone installing yarn via npm would get your latest patch |
Yarn should lock its dependencies to patch or strict versions. |
This will fix it - omnidan/node-emoji#46 |
@jdbevan it was a minor release (from |
Last |
Yep, all working again since the reverts, even CI builds |
@raphael22 glad to know that fixed it! Next time I make a release I'll try and see if yarn still works 😅 |
@omnidan thanks for the correction! |
Thank you for the correction!!! |
I'm going to close this out since the package has been fixed, and the long-term fix is tracked in #3853
@bazyli-brzoska That would work in some cases, but won't fully help. Even if Yarn has strict versions, packages that Yarn depends on may not. The ideal fix for us is to publish the single JS file build, which is what we do for all other distribution methods (tarball, Debian package, RPM package, and Windows installer). |
Do you want to request a feature or report a bug?
bug
What is the current behavior?
when i upgrade yarn:npm i [email protected] -g and run yarn first,it reply :TypeError: Cannot set property 'getDocsInfo' of undefined。
If the current behavior is a bug, please provide the steps to reproduce.
What is the expected behavior?
Please mention your node.js, yarn and operating system version.
win 10 15063 x64,node 6.10.3 x64, npm 3.10.10
The text was updated successfully, but these errors were encountered: