hi, i try to install webix pro packages through yarn package manager.
i do:
yarn login --registry=http://npm.webix.com --scope=@xbs
it ask me username and email ( no password )
and after yarn can’t find webix_pro on:
yarn add @xbs /webix-pro
can you tell me how to install through yarn please?
Nastja
March 28, 2019, 11:12am
2
Hello,
Could you please send us a log with a problem. You can send it by mail to support@webix.com
Nastja
March 29, 2019, 12:10pm
3
There is an open issue for the yarn
opened 02:18AM - 28 Jan 17 UTC
0.19.1
**Do you want to request a *feature* or report a *bug*?**
*feature*…
**What is the current behavior?**
npm login does not provide a way to login before a yarn add command and the yarn add command does not send the identity of the user to the registry. Then the registry does not allow any reads of the packages because the registry permissions are set to require authorization to read the packages. The yarn add command fails because no credentials were passed by yarn to the registry.
**If the current behavior is a bug, please provide the steps to reproduce.**
yarntest$ yarn login
```
yarn login v0.19.1
info npm username: david-oliver
info npm username: doliver3@aol.com
✨ Done in 0.04s.
yarn add v0.19.1
info No lockfile found.
[1/4] 🔍 Resolving packages...
error An unexpected error occurred: "http://messagewave.org:4873/chalk: unregistered users are not allowed to access package chalk".
info If you think this is a bug, please open a bug report with the information provided in "/Applications/MAMP/htdocs/verdaccio/yarntest/yarn-error.log".
```
yarntest$ cat /Applications/MAMP/htdocs/verdaccio/yarntest/yarn-error.log
Arguments:
/usr/local/bin/node /usr/local/bin/yarn add chalk
PATH:
/Users/beyondenergy/.rvm/gems/ruby-head/bin:/Users/beyondenergy/.rvm/bin:/opt/local/bin:/opt/local/sbin:/Users/beyondenergy/Code2/software/selenium/phantomjs-2.1.1-macosx/bin:/Users/beyondenergy/.rvm/gems/ruby-head/bin:/Users/beyondenergy/.rvm/gems/ruby-head@global/bin:/Users/beyondenergy/.rvm/rubies/ruby-head/bin:/Users/beyondenergy/.rvm/bin:~/bin:/Users/beyondenergy/.npm-packages/bin:/Users/beyondenergy/Documents/DevFocus/DavidOliver/software/groovy-2.3.4/bin:/Users/beyondenergy/Documents/DevFocus/DavidOliver/software/gradle-2.0/bin:/usr/local/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Users/beyondenergy/Documents/DevFocus/DavidOliver/software/sqlite:/Library/Frameworks/Python.framework/Versions/3.3/bin:/opt/X11/bin:/usr/local/go/bin:/Users/beyondenergy/devApps/activator-1.2.10:/Users/beyondenergy/bin:/Users/beyondenergy/Documents/DEV/Software/scala-2.11.4/bin:/Users/beyondenergy/scripts:/Users/beyondenergy/.composer/vendor/bin
Yarn version:
0.19.1
Node version:
7.1.0
Platform:
darwin x64
npm manifest:
{
"name": "yarntest",
"version": "1.0.0",
"main": "index.js",
"repository": {},
"license": "MIT"
}
yarn manifest:
No manifest
Lockfile:
No lockfile
Trace:
Error: http://messagewave.org:4873/chalk: unregistered users are not allowed to access package chalk
at Request.params.callback [as _callback] (/usr/local/Cellar/yarn/0.19.1/libexec/lib/node_modules/yarn/lib/util/request-manager.js:313:18)
at Request.self.callback (/usr/local/Cellar/yarn/0.19.1/libexec/lib/node_modules/yarn/node_modules/request/request.js:186:22)
at emitTwo (events.js:106:13)
at Request.emit (events.js:191:7)
at Request.<anonymous> (/usr/local/Cellar/yarn/0.19.1/libexec/lib/node_modules/yarn/node_modules/request/request.js:1081:10)
at emitOne (events.js:96:13)
at Request.emit (events.js:188:7)
at IncomingMessage.<anonymous> (/usr/local/Cellar/yarn/0.19.1/libexec/lib/node_modules/yarn/node_modules/request/request.js:1001:12)
at IncomingMessage.g (events.js:292:16)
at emitNone (events.js:91:20)
**What is the expected behavior?**
yarn login should prompt for password or there should be a password prompt when yarn add <package-name> is run, and the yarn add <package-name> command should pass the identity of the user to the registry.
**Please mention your node.js, yarn and operating system version.**
node 7.1 or 7.4
Yarn 0.19.1
macOS 10.12.2
Just use npm login --registry=http://npm.webix.com --scope=@xbs
for initial login, after which you can use yarn for any other operations with package