This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] AM69A:J784S4 EdgeAI Yocto 构建因 bb.fetch2.FetchError–NPM 内部错误而失败。 ICU 错误 (express_4.18.2.bb)

Guru**** 2811135 points

Other Parts Discussed in Thread: TDA4VH-Q1

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1621271/am69a-j784s4-edgeai-yocto-build-fails-with-bb-fetch2-fetcherror-npm-internal-error-icu-error-express_4-18-2-bb

器件型号: AM69A
Thread 中讨论的其他器件: TDA4VH-Q1

尊敬的 TI 团队:

我正在使用的器件 Processor SDK Linux Edge AI 指定 TDA4VH-Q1 (J784S4 EVM) 、版本11_00_00_08和使用默认配置构建 Yocto 映像。

在编译过程中、我遇到了以下错误:

例外:bb.fetch2.FetchError:fetcher 故障: 

从编译输出中显示npm install失败、原因是:

NPM 错误内部错误。 ICU 错误。 

失败的任务与以下相关:

meta-edgeai/食谱-tisdk/edgeai-dependency/express_4.18.2.bb 

具体而言、do_compile在运行时任务失败npm installexpress-4.18.2.tgz

以下是 2 个相关的 NPM 错误日志摘录:

日志片段 1:

RangeError:内部错误。 ICU 错误。 
在新套圈处 ( )
在 cilatorCompare (...)
在 module.exports (...) 处

日志片段 2:

NPM 错误内部错误。 ICU 错误。 
NPM 详细节点 v20.18.2.
NPM 详细 NPM v10.8.2
NPM 详细退出 1

环境详细信息:

  • 主机操作系统:Ubuntu 22.04(内核 6.8.0-94-generic)

  • 节点:v20.18.2(来自 trege-sysroot-native)

  • 国家预防机制:10.8.2

  • 目标架构:ARM64

  • 构建命令:默认 EdgeAI Yocto 构建流程

请告知:

  1. 这是否与 Yocto 使用的本机节点/NPM 中的 ICU 配置相关?

  2. npm@10.xnode@20.xSDK 11.00 中的或是否有任何已知问题?

  3. 是否应该在 Yocto 配置中启用任何其他区域设置/ICU 软件包?

感谢您的支持。