Closed monikagupta78 closed 6 years ago
This Angular 6 app uses this plugin, check it out: https://github.com/EddyVerbruggen/nativescript-pluginshowcase
I have similar configuration, can't figure out what is the problem.
How can I, without your repo?
I can upload my code in github, will share the link.
On Wed, Aug 1, 2018 at 2:05 PM Eddy Verbruggen notifications@github.com wrote:
How can I, without your repo?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/EddyVerbruggen/nativescript-directions/issues/22#issuecomment-409496624, or mute the thread https://github.com/notifications/unsubscribe-auth/AIa7NPhjKejbLWWW8NiYgn62ZlHNGRwYks5uMWhLgaJpZM4Vn6ES .
I uploaded my code here. https://github.com/monikagupta78/ng-maps
you need to do npm install , may be plungin install as well as i had to do. tns plugin add nativescript-directions
after this when i do ng serve, getting that error.
Thanks Monika
On Wed, Aug 1, 2018 at 3:31 PM Monika Gupta monikagupta78@gmail.com wrote:
I can upload my code in github, will share the link.
On Wed, Aug 1, 2018 at 2:05 PM Eddy Verbruggen notifications@github.com wrote:
How can I, without your repo?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/EddyVerbruggen/nativescript-directions/issues/22#issuecomment-409496624, or mute the thread https://github.com/notifications/unsubscribe-auth/AIa7NPhjKejbLWWW8NiYgn62ZlHNGRwYks5uMWhLgaJpZM4Vn6ES .
I am getting this error - while trying to add this module in angular 6 component.
Module not found: Error: Can't resolve 'nativescript-directions'
I did install the plugin in my app using :, also i can see this in my node modules folder. tns plugin add nativescript-directions
this is the exact error : ERROR in ./src/app/app.module.ts Module not found: Error: Can't resolve 'nativescript-directions' in 'D:\projects\ng-maps\src\app' ERROR in ./src/app/directions/directions.component.ts Module not found: Error: Can't resolve 'nativescript-directions' in 'D:\projects\ng-maps\src\app\directions'
in app.module.ts i have imported like this import { Directions } from "nativescript-directions";
In IDE , It is not showing any errors.
Any inputs pls.