Hola,
De todas las cosas que leí, entendí que se supone que yarn es compatible con la configuración de registro normal (es decir, registro sin ámbito) como este, por ejemplo:
registry "http://MACHINE/nexus/content/groups/npm/"
Pero cuando configuro eso, no parece que el hilo lo esté usando realmente:
$ yarn --verbose
yarn install v0.19.1
[1/4] Resolving packages...
[2/4] Fetching packages...
verbose Performing "GET" request to "https://registry.yarnpkg.com/angular2-notifications/-/angular2-notifications-0.4.49.tgz".
verbose Performing "GET" request to "https://registry.yarnpkg.com/@ngrx/core/-/core-1.2.0.tgz".
verbose Performing "GET" request to "https://registry.yarnpkg.com/@angular/common/-/common-2.4.5.tgz".
verbose Performing "GET" request to "https://registry.yarnpkg.com/@angular/compiler/-/compiler-2.4.5.tgz".
verbose Performing "GET" request to "https://registry.yarnpkg.com/@angular/forms/-/forms-2.4.5.tgz".
verbose Performing "GET" request to "https://registry.yarnpkg.com/@angular/http/-/http-2.4.5.tgz".
verbose Performing "GET" request to "https://registry.yarnpkg.com/@angular/material/-/material-2.0.0-beta.1.tgz".
verbose Performing "GET" request to "https://registry.yarnpkg.com/@angular/platform-browser/-/platform-browser-2.4.5.tgz".
verbose Performing "GET" request to "https://registry.yarnpkg.com/@angular/platform-browser-dynamic/-/platform-browser-dynamic-2.4.5.tgz".
verbose Performing "GET" request to "https://registry.yarnpkg.com/@angular/router/-/router-3.4.5.tgz".
verbose Performing "GET" request to "https://registry.yarnpkg.com/@ngrx/store/-/store-2.2.1.tgz".
...
Tampoco usa el configurado en npm.
Extraño, funciona para mí, usando la misma versión.
$ yarn --verbose
yarn install v0.19.1
info No lockfile found.
verbose Performing "GET" request to "https://yarnpkg.com/latest-version".
[1/4] 🔍 Resolving packages...
verbose Performing "GET" request to "http://ec2-54....
Pero no puedo usar hilo en este proyecto, ya que necesito autenticación para sinopia y excluyo un paquete con alcance. -.-
@maxmarkus, ¿cómo lo configuraste exactamente? ¿Podría mostrarme el archivo ~ / .yarnrc?
¿En que plataforma te encuentras?
Muchas gracias :)
¡Creo que encontré el problema! yarn.lock
contiene la URL del registro.
En su lugar, abrió # 2566.
Comentario más útil
¡Creo que encontré el problema!
yarn.lock
contiene la URL del registro.En su lugar, abrió # 2566.