javascript - Nativescript: unable to create application... Failed to load module: ...app/main.js -


i'm fiddling sample-groceries application, , i've installed nativescript , angular 2 on 2 machines , on both, same error message when try do:

tns run android --emulator 

ios runs without problems on android, following error:

unhandled exception java.lang.runtimeexception unable create application... failed load module: ...app/main.js

(see image) tried older api version 22.

the answers found changing app.js, can't find file.

hope can help.

enter image description here

this pretty simple issue fix; enter app folder , type:

npm install tns-core-modules@latest --save

and need rebuild app , should go.

see: http://fluentreports.com/blog/?p=323


Comments

Popular posts from this blog

java - Static nested class instance -

c# - Bluetooth LE CanUpdate Characteristic property -

JavaScript - Replace variable from string in all occurrences -