NativeScript / NativeScript/nativescript-cli
6.0 vue doesn't work at all
Aberta
Ninguém assumiu esta issue ainda.
- Linguagem predominante
- JavaScript
- Estrelas
- 1.1k
- Forks
- 204
- Merge médio
- 1d 9h
- PRs com merge (30d)
- 8
Descrição
@jrz commented on Tue Jul 02 2019
tns info
Error while loading nativescript-cloud is: Cannot find module './services/livesync/livesync-service'
✔ Getting NativeScript components versions information...
✔ Component nativescript has 6.0.0-2019-07-02-133207-13547 version and is up to date.
✔ Component tns-core-modules has 5.4.3 version and is up to date.
✔ Component tns-android has 5.4.0 version and is up to date.
✔ Component tns-ios has 5.4.2 version and is up to date.
nodenv local 10.6.0
npm install -g nativescript@rc
npm install -g @vue/cli @vue/cli-init
vue init nativescript-vue/vue-cli-template testapp
cd testapp
npm install
tns run ios --hmr
$ tns run ios --bundle
Error while loading nativescript-cloud is: Cannot find module './services/livesync/livesync-service'
Searching for devices...
Preparing project...
/testapp/hooks/before-watch/nativescript-dev-webpack.js will NOT be executed because it has invalid arguments - $liveSyncService.
Nativescript-vue doesn't work without --bundle option. Please specify --bundle option to the command and execute it again.
# tns run ios
Guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Direção de pesquisa
Comece reproduzindo a configuração reportada com Node 10.6.0, nativescript@rc, o template do Vue CLI e tns run ios --hmr ou --bundle. Inspecione o hook nativescript-dev-webpack.js e o módulo ausente ./services/livesync/livesync-service. Está concluído quando a CLI carregar sem esse erro e o app Vue puder ser executado no iOS.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- ios, javascript
- Domínio
- cli, mobile
- Tipo de issue
- Bug
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Estagnada
- Clareza
- Precisa de esclarecimento
- Facilidade para iniciantes
- 25/100