NativeScript / sample-Groceries

:green_apple: :pineapple: :strawberry: A NativeScript-built iOS and Android app for managing grocery lists
Apache License 2.0
486 stars 343 forks source link

Failed to load module/data/data/org.nativescript.groceries/files/app/main.js #112

Closed rameshbas closed 8 years ago

rameshbas commented 8 years ago

I tried twice this and the angular-end branch. Has classnotfound or file not found exception. First line of error:Unableto to create application.com.tns.NativeScriptApplication: Let me know what I am doing wrong. tns doctor works as indicated Created master version connected to android phone (samsung) Other apps from (Monaca) worked ok.

TheColorRed commented 8 years ago

I am having the same issue.

TheColorRed commented 8 years ago

I got it.

If you run tns doctor and you get this screen:

screenshot from 2016-07-02 17-08-43

you should update the tns-core-modules, this can be done using the following npm command (In the root of your project):

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

You should be able to get a working build.

rameshbas commented 8 years ago

The suggest solution worked ok. Thanks for the quick response.

rameshbas commented 8 years ago

It worked thx. Do you have typescript version? This is all .js files

Sent from my MetroPCS 4G LTE Android device-------- Original message --------From: Ryan notifications@github.com Date: 7/2/2016 3:11 PM (GMT-08:00) To: NativeScript/sample-Groceries sample-Groceries@noreply.github.com Cc: rameshbas rameshbas@yahoo.com, Author author@noreply.github.com Subject: Re: [NativeScript/sample-Groceries] Failed to load module/data/data/org.nativescript.groceries/files/app/main.js (#112) I got it.

If you run tns doctor and you get this screen:

you should update the tns-core-modules, this can be done using the following npm command (In the root of your project):

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

You should be able to get a working build.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

TheColorRed commented 8 years ago

Yeah I am doing the typescript version. Now that I got that working I just need to get it working in the emulator because the watch mode looks pretty cool!

tjvantoll commented 8 years ago

The problem seems to be resolved here. If you’re still having issues let us know and we can investigate. Thanks 😄