You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
用文字描述你遇到的问题
make ui,一直卡在92%的进度,然后报错
[root@localhost src]# make ui
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
building web...
npm WARN deprecated axios@0.18.0: Critical security vulnerability fixed in v0.21.1. For more information, see axios/axios#3410
npm WARN deprecated vue@2.7.16: Vue 2 has reached EOL and is no longer actively maintained. See https://v2.vuejs.org/eol/ for more details.
npm WARN deprecated popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
npm WARN deprecated consolidate@0.15.1: Please upgrade to consolidate v1.0.0+ as it has been modernized with several long-awaited fixes implemented. Maintenance is supported by Forward Email at https://forwardemail.net ; follow/watch https://github.com/ladjs/consolidate for updates and release changelog
npm WARN deprecated acorn-dynamic-import@4.0.0: This is probably built in to whatever tool you're using. If you still need it... idk
npm WARN deprecated os-homedir@2.0.0: This is not needed anymore. Use require('os').homedir() instead.
npm WARN deprecated stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
npm WARN notsup Unsupported engine for commander@12.1.0: wanted: {"node":">=18"} (current: {"node":"14.21.3","npm":"6.14.18"})
npm WARN notsup Not compatible with your version of node/npm: commander@12.1.0
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @swc/core-darwin-x64@1.5.7 (node_modules/@swc/core/node_modules/@swc/core-darwin-x64):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @swc/core-darwin-x64@1.5.7: wanted {"os":"darwin","arch":"x64"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @swc/core-win32-x64-msvc@1.5.7 (node_modules/@swc/core/node_modules/@swc/core-win32-x64-msvc):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @swc/core-win32-x64-msvc@1.5.7: wanted {"os":"win32","arch":"x64"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @swc/core-win32-ia32-msvc@1.5.7 (node_modules/@swc/core/node_modules/@swc/core-win32-ia32-msvc):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @swc/core-win32-ia32-msvc@1.5.7: wanted {"os":"win32","arch":"ia32"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @swc/core-linux-arm64-gnu@1.5.7 (node_modules/@swc/core/node_modules/@swc/core-linux-arm64-gnu):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @swc/core-linux-arm64-gnu@1.5.7: wanted {"os":"linux","arch":"arm64"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @swc/core-darwin-arm64@1.5.7 (node_modules/@swc/core/node_modules/@swc/core-darwin-arm64):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @swc/core-darwin-arm64@1.5.7: wanted {"os":"darwin","arch":"arm64"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @swc/core-linux-arm-gnueabihf@1.5.7 (node_modules/@swc/core/node_modules/@swc/core-linux-arm-gnueabihf):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @swc/core-linux-arm-gnueabihf@1.5.7: wanted {"os":"linux","arch":"arm"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @swc/core-linux-arm64-musl@1.5.7 (node_modules/@swc/core/node_modules/@swc/core-linux-arm64-musl):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @swc/core-linux-arm64-musl@1.5.7: wanted {"os":"linux","arch":"arm64"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @swc/core-win32-arm64-msvc@1.5.7 (node_modules/@swc/core/node_modules/@swc/core-win32-arm64-msvc):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @swc/core-win32-arm64-msvc@1.5.7: wanted {"os":"win32","arch":"arm64"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN acorn-dynamic-import@4.0.0 requires a peer of acorn@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN eslint-config-tencent@1.0.4 requires a peer of eslint-plugin-prettier@^3.4.0 || ^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN acorn-import-assertions@1.9.0 requires a peer of acorn@^8 but none is installed. You must install peer dependencies yourself.
added 1515 packages from 674 contributors and audited 1529 packages in 137.336s
221 packages are looking for funding
run npm fund for details
found 25 vulnerabilities (12 moderate, 8 high, 5 critical)
run npm audit fix to fix them, or npm audit for details
╭────────────────────────────────────────────────────────────────╮
│ │
│ New major version of npm available! 6.14.18 → 10.8.0 │
│ Changelog: https://github.com/npm/cli/releases/tag/v10.8.0 │
│ Run npm install -g npm to update! │
│ │
╰────────────────────────────────────────────────────────────────╯
fatal: Not a git repository (or any of the parent directories): .git
Ignore: Get commit id failed build [================== ] 92% (211.1 seconds)./build.sh: 行 9: 23354 段错误 $1 run build BUILD_OUTPUT="$2"
make: *** [ui] 错误 139
请用简练的文字描述你遇到的问题,问题描述的清晰程度决定了问题被解决的效率。
重现方法
make ui编译界面,或执行npm run build。npm run dev能通过,web能正常运行
用文字描述你遇到的问题
make ui,一直卡在92%的进度,然后报错
[root@localhost src]# make ui
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
building web...
npm WARN deprecated axios@0.18.0: Critical security vulnerability fixed in v0.21.1. For more information, see axios/axios#3410
npm WARN deprecated vue@2.7.16: Vue 2 has reached EOL and is no longer actively maintained. See https://v2.vuejs.org/eol/ for more details.
npm WARN deprecated popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
npm WARN deprecated consolidate@0.15.1: Please upgrade to consolidate v1.0.0+ as it has been modernized with several long-awaited fixes implemented. Maintenance is supported by Forward Email at https://forwardemail.net ; follow/watch https://github.com/ladjs/consolidate for updates and release changelog
npm WARN deprecated acorn-dynamic-import@4.0.0: This is probably built in to whatever tool you're using. If you still need it... idk
npm WARN deprecated os-homedir@2.0.0: This is not needed anymore. Use
require('os').homedir()
instead.npm WARN deprecated stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
linux-x64-83-glibc
exists; testingProblem with the binary; manual build incoming
make[1]: 进入目录“/root/bk-cmdb-release-v3.12.2/src/ui/node_modules/fibers/build”
CXX(target) Release/obj.target/fibers/src/fibers.o
In file included from /root/.cache/node-gyp/14.21.3/include/node/node.h:67:0,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/root/.cache/node-gyp/14.21.3/include/node/v8.h:1585:58: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
Local export_value);
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:3359:23: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
Local Name() const { return Description(); }
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:5178:76: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
ArrayBufferCreationMode mode = ArrayBufferCreationMode::kExternalized);
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:5225:21: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
bool IsExternal() const;
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:5252:24: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
Contents Externalize();
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:5262:70: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
void Externalize(const std::shared_ptr& backing_store);
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:5273:24: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
Contents GetContents();
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:5660:76: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
ArrayBufferCreationMode mode = ArrayBufferCreationMode::kExternalized);
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:5709:76: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
ArrayBufferCreationMode mode = ArrayBufferCreationMode::kExternalized);
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:5718:21: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
bool IsExternal() const;
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:5734:24: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
Contents Externalize();
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:5744:70: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
void Externalize(const std::shared_ptr& backing_store);
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:5759:24: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
Contents GetContents();
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:5984:50: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
Local finalization_group);
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:7135:28: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
size_t code_range_size() const { return code_range_size_ / kMB; }
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:7137:46: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
void set_code_range_size(size_t limit_in_mb) {
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:7141:38: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
size_t max_semi_space_size_in_kb() const;
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:7143:56: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
void set_max_semi_space_size_in_kb(size_t limit_in_kb);
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:7145:31: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
size_t max_old_space_size() const { return max_old_generation_size_ / kMB; }
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:7147:49: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
void set_max_old_space_size(size_t limit_in_mb) {
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:7151:31: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
size_t max_zone_pool_size() const { return max_zone_pool_size_; }
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:7153:43: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
void set_max_zone_pool_size(size_t bytes) { max_zone_pool_size_ = bytes; }
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:8601:52: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
HostCleanupFinalizationGroupCallback callback);
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:8765:59: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
MeasureMemoryMode mode);
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:8829:36: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
Local GetEnteredContext();
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:9106:22: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
void RunMicrotasks() { PerformMicrotaskCheckpoint(); }
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:9150:75: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
void AddMicrotasksCompletedCallback(MicrotasksCompletedCallback callback);
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:9158:78: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
void RemoveMicrotasksCompletedCallback(MicrotasksCompletedCallback callback);
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:9330:30: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
UnwindState GetUnwindState();
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:9393:54: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
AllowCodeGenerationFromStringsCallback callback);
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:9750:75: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
static bool TryHandleSignal(int signal_number, void* info, void* context);
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:10723:55: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
const void* stack_base);
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:10749:65: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
static bool PCIsInV8(const UnwindState& unwind_state, void* pc);
^
CXX(target) Release/obj.target/fibers/src/coroutine.o
In file included from /root/.cache/node-gyp/14.21.3/include/node/node.h:67:0,
from ../src/coroutine.h:1,
from ../src/coroutine.cc:1:
/root/.cache/node-gyp/14.21.3/include/node/v8.h:1585:58: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
Local export_value);
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:3359:23: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
Local Name() const { return Description(); }
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:5178:76: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
ArrayBufferCreationMode mode = ArrayBufferCreationMode::kExternalized);
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:5225:21: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
bool IsExternal() const;
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:5252:24: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
Contents Externalize();
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:5262:70: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
void Externalize(const std::shared_ptr& backing_store);
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:5273:24: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
Contents GetContents();
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:5660:76: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
ArrayBufferCreationMode mode = ArrayBufferCreationMode::kExternalized);
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:5709:76: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
ArrayBufferCreationMode mode = ArrayBufferCreationMode::kExternalized);
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:5718:21: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
bool IsExternal() const;
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:5734:24: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
Contents Externalize();
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:5744:70: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
void Externalize(const std::shared_ptr& backing_store);
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:5759:24: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
Contents GetContents();
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:5984:50: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
Local finalization_group);
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:7135:28: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
size_t code_range_size() const { return code_range_size_ / kMB; }
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:7137:46: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
void set_code_range_size(size_t limit_in_mb) {
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:7141:38: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
size_t max_semi_space_size_in_kb() const;
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:7143:56: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
void set_max_semi_space_size_in_kb(size_t limit_in_kb);
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:7145:31: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
size_t max_old_space_size() const { return max_old_generation_size_ / kMB; }
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:7147:49: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
void set_max_old_space_size(size_t limit_in_mb) {
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:7151:31: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
size_t max_zone_pool_size() const { return max_zone_pool_size_; }
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:7153:43: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
void set_max_zone_pool_size(size_t bytes) { max_zone_pool_size_ = bytes; }
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:8601:52: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
HostCleanupFinalizationGroupCallback callback);
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:8765:59: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
MeasureMemoryMode mode);
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:8829:36: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
Local GetEnteredContext();
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:9106:22: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
void RunMicrotasks() { PerformMicrotaskCheckpoint(); }
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:9150:75: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
void AddMicrotasksCompletedCallback(MicrotasksCompletedCallback callback);
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:9158:78: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
void RemoveMicrotasksCompletedCallback(MicrotasksCompletedCallback callback);
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:9330:30: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
UnwindState GetUnwindState();
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:9393:54: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
AllowCodeGenerationFromStringsCallback callback);
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:9750:75: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
static bool TryHandleSignal(int signal_number, void* info, void* context);
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:10723:55: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
const void* stack_base);
^
/root/.cache/node-gyp/14.21.3/include/node/v8.h:10749:65: 警告:‘deprecated’属性指定被忽略 [-Wattributes]
static bool PCIsInV8(const UnwindState& unwind_state, void* pc);
^
CC(target) Release/obj.target/fibers/src/libcoro/coro.o
SOLINK_MODULE(target) Release/obj.target/fibers.node
COPY Release/fibers.node
make[1]: 离开目录“/root/bk-cmdb-release-v3.12.2/src/ui/node_modules/fibers/build”
Installed in
/root/bk-cmdb-release-v3.12.2/src/ui/node_modules/fibers/bin/linux-x64-83-glibc/fibers.node
Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
The project needs your help! Please consider supporting core-js:
I highly recommend reading this: https://github.com/zloirock/core-js/blob/master/docs/2023-02-14-so-whats-next.md
npm WARN notsup Unsupported engine for commander@12.1.0: wanted: {"node":">=18"} (current: {"node":"14.21.3","npm":"6.14.18"})
npm WARN notsup Not compatible with your version of node/npm: commander@12.1.0
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @swc/core-darwin-x64@1.5.7 (node_modules/@swc/core/node_modules/@swc/core-darwin-x64):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @swc/core-darwin-x64@1.5.7: wanted {"os":"darwin","arch":"x64"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @swc/core-win32-x64-msvc@1.5.7 (node_modules/@swc/core/node_modules/@swc/core-win32-x64-msvc):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @swc/core-win32-x64-msvc@1.5.7: wanted {"os":"win32","arch":"x64"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @swc/core-win32-ia32-msvc@1.5.7 (node_modules/@swc/core/node_modules/@swc/core-win32-ia32-msvc):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @swc/core-win32-ia32-msvc@1.5.7: wanted {"os":"win32","arch":"ia32"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @swc/core-linux-arm64-gnu@1.5.7 (node_modules/@swc/core/node_modules/@swc/core-linux-arm64-gnu):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @swc/core-linux-arm64-gnu@1.5.7: wanted {"os":"linux","arch":"arm64"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @swc/core-darwin-arm64@1.5.7 (node_modules/@swc/core/node_modules/@swc/core-darwin-arm64):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @swc/core-darwin-arm64@1.5.7: wanted {"os":"darwin","arch":"arm64"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @swc/core-linux-arm-gnueabihf@1.5.7 (node_modules/@swc/core/node_modules/@swc/core-linux-arm-gnueabihf):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @swc/core-linux-arm-gnueabihf@1.5.7: wanted {"os":"linux","arch":"arm"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @swc/core-linux-arm64-musl@1.5.7 (node_modules/@swc/core/node_modules/@swc/core-linux-arm64-musl):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @swc/core-linux-arm64-musl@1.5.7: wanted {"os":"linux","arch":"arm64"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @swc/core-win32-arm64-msvc@1.5.7 (node_modules/@swc/core/node_modules/@swc/core-win32-arm64-msvc):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @swc/core-win32-arm64-msvc@1.5.7: wanted {"os":"win32","arch":"arm64"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN acorn-dynamic-import@4.0.0 requires a peer of acorn@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN eslint-config-tencent@1.0.4 requires a peer of eslint-plugin-prettier@^3.4.0 || ^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN acorn-import-assertions@1.9.0 requires a peer of acorn@^8 but none is installed. You must install peer dependencies yourself.
added 1515 packages from 674 contributors and audited 1529 packages in 137.336s
221 packages are looking for funding
run
npm fund
for detailsfound 25 vulnerabilities (12 moderate, 8 high, 5 critical)
run
npm audit fix
to fix them, ornpm audit
for details╭────────────────────────────────────────────────────────────────╮
│ │
│ New major version of npm available! 6.14.18 → 10.8.0 │
│ Changelog: https://github.com/npm/cli/releases/tag/v10.8.0 │
│ Run npm install -g npm to update! │
│ │
╰────────────────────────────────────────────────────────────────╯
fatal: Not a git repository (or any of the parent directories): .git
Ignore: Get commit id failed
build [================== ] 92% (211.1 seconds)./build.sh: 行 9: 23354 段错误 $1 run build BUILD_OUTPUT="$2"
make: *** [ui] 错误 139
请用简练的文字描述你遇到的问题,问题描述的清晰程度决定了问题被解决的效率。
重现方法
make ui编译界面,或执行npm run build。npm run dev能通过,web能正常运行
预期行为
make ui能够编译成功
版本
bk-cmdb版本号 3.12.2,bk-cmdb版本号 3.12.4都试过了
如果是页面问题,请提供使用的操作系统和浏览器信息
CentOS Linux release 7.9.2009 (Core
[root@localhost ui]# node -v
v14.21.3
[root@本地主机 ui]# nvm -v
0.39.7
[root@localhost ui]# npm -v
6.14.18
VM是15G内存
额外信息
任何你觉得有助于问题解决的内容
The text was updated successfully, but these errors were encountered: