仅在 ubuntu 中找不到模块“@module/kinetic-erp-tester-e2e”/ tsconfig 路径

问题描述

我们有以下错误,它只发生在 ubuntu 中,它似乎处理 tsconfig 路径。 tsconfig 更新如下。如果需要处理不同的方法,请告知。

`"paths": {
      "@module/kinetic-e2e": ["dist/kinetic-e2e"],"@module/kinetic-erp-tester-e2e": ["dist/kinetic-erp-tester-e2e"]
    }`

[14:02:30] I/launcher - 运行 1 个 WebDriver 实例 [14:02:30] I/direct - 直接使用 ChromeDriver... [14:02:36] E/launcher - 错误:TSError:⨯ 无法编译 TypeScript: 项目/Metafx/Metafx-harness-e2e/src/common/helper.ts(2,29):错误TS2307:找不到模块“@module/kinetic-erp-tester-e2e”或其相应的类型声明。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)