【问题标题】:ERROR in The target entry-point "chart-directives" has missing dependencies: - ./../目标入口点“chart-directives”中的错误缺少依赖项:-./../
【发布时间】:2020-06-20 11:31:35
【问题描述】:

我想在我的包中集成“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:
 - ./../ 

我不明白我能解决什么问题。请帮忙。

【问题讨论】:

  • 我的 nativescript angular 9 共享代码也面临类似的问题,同时运行它的 Web 应用程序,该应用程序运行良好,直到昨天。我收到这样的错误:目标入口点“@nativescript/angular”中的错误缺少依赖项:-@nativescript/core/ui/layouts/layout-base

标签: nativescript angular2-nativescript nativescript-angular nativescript-telerik-ui nativescript-plugin


【解决方案1】:

我认为问题至少对我来说是,我使用 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

希望我的解决方案会有所帮助

干杯, 乔达特

【讨论】:

  • 感谢您的回复。但是我的 package.json 中已经有了那个依赖
猜你喜欢
  • 2021-11-20
  • 1970-01-01
  • 1970-01-01
  • 2023-01-12
  • 2021-11-20
  • 2020-05-29
  • 1970-01-01
  • 2020-07-22
  • 1970-01-01
相关资源
最近更新 更多