Skip to content
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

error while installing using yarn: cannot use 'in' operator #9

Open
chiptus opened this issue Oct 22, 2016 · 1 comment
Open

error while installing using yarn: cannot use 'in' operator #9

chiptus opened this issue Oct 22, 2016 · 1 comment

Comments

@chiptus
Copy link

chiptus commented Oct 22, 2016

I get the following error:
warning big-bertha > forever > forever-monitor > minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
error TypeError: Cannot use 'in' operator to search for '^2.1.0-0' in undefined
at C:\Users\One\AppData\Roaming\npm\node_modules\yarn\lib\resolvers\registries\npm-resolver.js:62:24
at next (native)
at step (C:\Users\One\AppData\Roaming\npm\node_modules\yarn\node_modules\babel-runtime\helpers\asyncToGenerator.js:17:30)
at C:\Users\One\AppData\Roaming\npm\node_modules\yarn\node_modules\babel-runtime\helpers\asyncToGenerator.js:35:14
at Promise.F (C:\Users\One\AppData\Roaming\npm\node_modules\yarn\node_modules\core-js\library\modules_export.js:35:28)
at C:\Users\One\AppData\Roaming\npm\node_modules\yarn\node_modules\babel-runtime\helpers\asyncToGenerator.js:14:12
at Function.findVersionInRegistryResponse (C:\Users\One\AppData\Roaming\npm\node_modules\yarn\lib\resolvers\registries\npm-resolver.js:72:7)
at C:\Users\One\AppData\Roaming\npm\node_modules\yarn\lib\resolvers\registries\npm-resolver.js:89:34
at next (native)
at step (C:\Users\One\AppData\Roaming\npm\node_modules\yarn\node_modules\babel-runtime\helpers\asyncToGenerator.js:17:30)
info Visit http://yarnpkg.com/en/docs/cli/add for documentation about this command.

@joshmatz
Copy link
Owner

It looks like this may have been related to the DNS issues that were plaguing the Internet last week, according to yarnpkg/yarn#1348. Does this still occur for you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants