Pkgx errors on yarn 1

Abierto
#8,424 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
38/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
javascript
Área
tooling

Línea de trabajo

Reproduce the failure with the package.json containing [email protected] and a neighboring pkgx.yaml, starting with the pkgx dev on entry point. Compare the current handling of packageManager and the local manifest; done when Yarn 1 is available without editing package.json locally and the reported version-unavailable error no longer occurs.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

example $ pkgx --version
pkgx 1.3.1
example $ ls
package.json
example $ cat package.json
{
    "packageManager": "[email protected]"
}
example $ dev on
× version unavailable [email protected]
│ please check the following url for available versions
│ if it’s not there, we’ll build it! open a ticket on the pantry.
╰─➤ https://dist.pkgx.dev/?prefix=yarnpkg.com/darwin/aarch64

I updated today (dunno what I was on before. 1.1.6 maybe?), and hit this error.

I can't easily change the package.json, since we're a whole team using it. I've been fine just adding my own pkgx.yaml next to it before - pkgx would install both yarns but it ran fine - but that doesn't work anymore, so now I have to edit the package.json locally to use pkgx and deal with reapplying the local changes whenever I change branches etc.

pkgxdev/dev#24 is probably related, but more theoretical. This is an error.

Lenguaje dominante
C
Estrellas
199
Forks
142
Merge medio
2 h 33 min
PR fusionados (30 d)
145

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

  • Sin Dockerfile ni archivo de Docker Compose
  • Tiene una plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de pkgxdev/pantry

Todos los issues de pkgxdev/pantry

Issues similares

Más issues de C

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.