NativeScript / NativeScript/nativescript-cli
Livesync fails when runtime version is tag string
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- JavaScript
- Estrellas
- 1.1k
- Forks
- 204
- Merge medio
- 1 d 9 h
- PR fusionados (30 d)
- 8
Descripción
Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):
- CLI: 5.3.2
- Cross-platform modules: 5.3.1
- Android Runtime: next
- iOS Runtime: next
Describe the bug
When developing the tns-core-modules we often have next version tags set to the runtimes. This works fine with initial tns run, but if I checkout another branch, the next version tag returns and run the app again, it is built, installed and fails at deploy with invalid version: next.
To Reproduce
- Set
nextversion tag to either ios or android runtime versions. - Run
tns run. This changes the runtime version to the actual next version string. - Set the runtime version tag to
nextagain - this simulates checking out another branch. - Run
tns runagain.
Result: fails withinvalid version: nextafter build.
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Reproduce el problema ejecutando tns run con la versión del runtime de Android o iOS establecida en next, y repite la prueba después de restaurar esa etiqueta. Rastrea el manejo de la versión del runtime por parte de la CLI alrededor del paso de deploy; el trabajo estará terminado cuando la segunda ejecución compile, instale y haga el deploy correctamente sin informar de invalid version: next.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- android, ios, javascript
- Área
- cli, mobile
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100