Skip to content

[master]修复pcs升级失败 #2027

@laokz

Description

@laokz

2509及master升级pcs后有构建错误:

[  532s] /home/abuild/rpmbuild/BUILD/pcs-web-ui-0.1.23/packages/app/node_modules/esbuild/lib/main.js:1734
[  532s]           throw new Error(`
[  532s]                 ^
[  532s] 
[  532s] Error: 
[  532s] You installed esbuild for another platform than the one you're currently using.
[  532s] This won't work because esbuild is written with native code and needs to
[  532s] install a platform-specific binary executable.
[  532s] 
[  532s] Specifically the "@esbuild/linux-arm64" package is present but this platform
[  532s] needs the "@esbuild/linux-riscv64" package instead. People often get into this
[  532s] situation by installing esbuild on Windows or macOS and copying "node_modules"
[  532s] into a Docker image that runs Linux, or by copying "node_modules" between
[  532s] Windows and WSL environments.
...

原因大概是上游升级后,pcs-web-ui-node-modules子模块未包含riscv64的适配。宜在上游修复该问题。

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions