/ / sample-Groceries, Modul konnte nicht gefunden werden: 'platform' - angular2-nativescript

sample-Groceries, Modul konnte nicht gefunden werden: 'platform' - angular2-nativescript

Während ich das nativescript mit eckigem Tutorial befolge, lautet meine Eingabeaufforderung "Erfolgreich auf dem Gerät mit dem Bezeichner" emulator-5554 "", aber der Emulator hat den folgenden Fehler ausgelöst.

Fehler beim Aufruf der Modulfunktion

Error: com.tns.NativeScriptException: Failed to find
module: "platform", relative to: app/tns_modules/
com.tns.Module.resolvePathHelper(Module.java:159)
com.tns.Module.resolvePath(Module.java:6O)
com.tns.Runtime.runModule(Native Method)
com.tns.Runtime.runModule(Runtime.java:514)
com.tns.Runtime.run(Runtime.java:509)
com.tns.NativeScriptApplication.on
Create(NativeScriptApplication.java:17)
android. a pp.1 nst rum e ntat ion. call AppationOnCreate(lnstrumentation.java:1024)
android. app. ActivityThread.handleBindApplication(ActivityThread.java:5361).

Bitte helfen Sie.

Vielen Dank.

Antworten:

0 für die Antwort № 1

Löschen Plattformen und Knoten_Module Ordner und erstellen Sie die Anwendung mit dem entsprechenden Befehl für die von Ihnen verwendete Plattform neu. z.B. tns run android