This is a migrated thread and some comments may be shown as answers.

NativeScript Sample Groceries ERROR: could not find module 'nativescript-angular/platform'

3 Answers 153 Views
Sample Applications
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Charlie
Top achievements
Rank 1
Charlie asked on 27 Sep 2016, 07:45 PM

Hi - 

Just trying to get the NativeScript companion app to load without crashing the NativeScript-Sample-Groceries app for Telerik Platform.

 

I'm getting an error:

file:///app/main.js:2 ERROR: could not find module 'nativescript-angular/platform'. Computed path '/var/mobile/Containers/Data/Application/[[long-guid]]/Library/ApplicationSupport/LiveSync/app/tns_modules/natvescript-angular/platform'

 

require @ [native code] (null)...

etc.

 

 

Please help, much obliged -- trying to show my boss a proof-of-concept but it's dead-in-the-water right out the gate!

3 Answers, 1 is accepted

Sort by
0
Garo
Telerik team
answered on 30 Sep 2016, 09:09 AM
Hi Charlie,

I believe this problem was resolved in a separate ticket? Please, correct me if this is not the case and you require additional assistance regarding this issue.

Regards,
Garo
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Tony
Top achievements
Rank 1
answered on 09 Nov 2016, 05:28 PM

I have been experiencing the same issues as Charlie from his post on Sep 2016. I cannot find the resolution in a separate ticket as you mention. Could you please direct me to the ticket where this issue with the Telerik Companion App running the Groceries sample and crashing on line 2 of /app/main.js can be found? Thanks so much!

 

Tony

0
Garo
Telerik team
answered on 10 Nov 2016, 09:34 AM
Hello Tony,

I answered you question in the separate ticket that you have opened. However, I will share the information here so it is available to anyone that experiences this issue.

For the time being, the Companion app cannot be used to run NativeScript + Angular 2 applications. We are working on making this possible, however,  I cannot yet bind to a specific timeframe for when this feature will be available.

Having said that, in the meantime, apps can be deployed on a device Over Cable or Over the Air and the three-finger gesture can be used to LiveSync changes without the need to rebuild the application every time. Please, have in mind that after adding new modules or modifying the configuration files you must rebuild your app so the changes can take effect.

Regards,
Garo
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Sample Applications
Asked by
Charlie
Top achievements
Rank 1
Answers by
Garo
Telerik team
Tony
Top achievements
Rank 1
Share this question
or