NativeScript / NativeScript/nativescript-cli

Livesync fails when runtime version is tag string

Aberta
#4,539 4 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

bug severity: low
Linguagem predominante
JavaScript
Estrelas
1.1k
Forks
204
Merge médio
1d 9h
PRs com merge (30d)
8

Descrição

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

  1. Set next version tag to either ios or android runtime versions.
  2. Run tns run. This changes the runtime version to the actual next version string.
  3. Set the runtime version tag to next again - this simulates checking out another branch.
  4. Run tns run again.
    Result: fails with invalid version: next after build.

Guia de contribuição

Abrir o guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Direção de pesquisa

Reproduza o problema executando tns run com a versão do runtime do Android ou iOS definida como next e repita depois de restaurar essa tag. Rastreie o tratamento da versão do runtime pela CLI em torno da etapa de deploy; o trabalho estará concluído quando a segunda execução fizer o build, instalar e realizar o deploy com sucesso, sem informar invalid version: next.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
android, ios, javascript
Domínio
cli, mobile
Tipo de issue
Bug
Dificuldade
3/5
Tempo estimado
1-2 dias
Status de atividade
Estagnada
Clareza
Razoavelmente clara
Facilidade para iniciantes
45/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.