You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to install protractor, yarn fails with the following error in yarn-error.log
Trace:
TypeError: Cannot use 'in' operator to search for '^2.5.36' in undefined
at /usr/share/yarn/lib-legacy/resolvers/registries/npm-resolver.js:74:24
at next (native)
at step (/usr/share/yarn/node_modules/babel-runtime/helpers/asyncToGenerator.js:17:30)
at /usr/share/yarn/node_modules/babel-runtime/helpers/asyncToGenerator.js:35:14
at new Promise (/usr/share/yarn/node_modules/core-js/library/modules/es6.promise.js:191:7)
at /usr/share/yarn/node_modules/babel-runtime/helpers/asyncToGenerator.js:14:12
at Function.findVersionInRegistryResponse (/usr/share/yarn/lib-legacy/resolvers/registries/npm-resolver.js:84:7)
at /usr/share/yarn/lib-legacy/resolvers/registries/npm-resolver.js:101:34
at next (native)
at step (/usr/share/yarn/node_modules/babel-runtime/helpers/asyncToGenerator.js:17:30)
If the current behavior is a bug, please provide the steps to reproduce.
Configure npm to point to a private registry, but point to a scoped registry for types
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Relevent npm configuration:
When attempting to install protractor, yarn fails with the following error in yarn-error.log
If the current behavior is a bug, please provide the steps to reproduce.
Configure npm to point to a private registry, but point to a scoped registry for types
run
What is the expected behavior?
Protractor installs correctly. Running "npm install protractor" installs as expected.
Please mention your node.js, yarn and operating system version.
node 4.6.1, yarn 0.16.1, Ubuntu 14.04
The text was updated successfully, but these errors were encountered: