NativeScript / NativeScript/nativescript-cli
6.0 vue doesn't work at all
Offen
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- JavaScript
- Sterne
- 1.1k
- Forks
- 204
- Ø Merge
- 1 T. 9 Std.
- Gemergte PRs (30 T.)
- 8
Beschreibung
@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
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, das gemeldete Setup mit Node 10.6.0, nativescript@rc, dem Vue CLI template und tns run ios --hmr oder --bundle zu reproduzieren. Untersuche den Hook nativescript-dev-webpack.js und das fehlende Modul ./services/livesync/livesync-service. Erledigt ist die Aufgabe, wenn die CLI ohne diesen Fehler geladen wird und die Vue-App unter iOS ausgeführt werden kann.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- ios, javascript
- Bereich
- cli, mobile
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100