1

I want to integrating 'NativeScriptUIChartModule' In my package. But It couldn't complied the resources properly. It is gives warning and error.

WARNING in Entry point 'chart-directives' contains deep imports into '/Users/<username>/Desktop/projects/<app_path>/MobileApp/node_modules/@nativescript/angular/element-registry'. This is probably not a problem, but may cause the compilation of entry points to be out of order.

ERROR in The target entry-point "chart-directives" has missing dependencies:
 - ./../ 

I could not understand what can i solved this problem. Please Help.

Shibaji Debnath
  • 1,105
  • 1
  • 10
  • 16
  • I am also facing a similar issue with my nativescript angular 9 shared code, while running its web application which was working fine till yesterday . I am getting an error like this : ERROR in The target entry-point "@nativescript/angular" has missing dependencies: - @nativescript/core/ui/layouts/layout-base – Arun s Jun 21 '20 at 19:18

1 Answers1

0

I think that the problem was for me at least, that I've installed the plugin using npm.

my solution is to delete the package installed from package-lock.json, and package.json then install the plugin using 'tns plugin add' command.

or you should add ignore deep import matchers into ngcc.config.js file, according to ERROR in The target entry-point "@nativescript/angular" has missing dependencies on running a Nativescript Angular 9 project

Hope that my solution will help

cheers, Jawdat