Search code examples
nativescriptangular2-nativescriptnativescript-angularnativescript-telerik-uinativescript-plugin

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


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.


Solution

  • 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