我想在我的程序包中集成“ NativeScriptUIChartModule”。但是它不能正确地编译资源。它给出警告和错误。
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:
- ./../
我不明白我能解决什么问题。请帮忙。
答案 0 :(得分:0)
我认为问题至少对我来说是,我已经使用npm安装了插件。
我的解决方案是从package-lock.json和package.json中删除安装的软件包 然后使用“ tns plugin add”命令安装插件。
或者,根据您的说法,应该将忽略深度导入匹配项添加到ngcc.config.js文件中 ERROR in The target entry-point "@nativescript/angular" has missing dependencies on running a Nativescript Angular 9 project
希望我的解决方案会有所帮助
欢呼声, 颚骨