Win10下通过Docker for Windows全新安装AzerothCore编译时报deno.sh第17行错误
Win10环境AzerothCore Docker编译环节Deno格式执行错误
触发场景
- 运行系统:Windows 10
- 对应安装节点:AzerothCore Docker安装流程第2步「编译AzerothCore」
- 触发命令:
./acore.sh docker build
完整运行日志
$ ./acore.sh docker build Deno version check: /e/azerothcore-wotlk/apps/bash_shared/deno.sh: line 17: ./deps/deno/bin/deno: cannot execute binary file: Exec format error Installing Deno... ######################################################################## 100.0%######################################################################### 100.0% Archive: /e/azerothcore-wotlk/deps/deno/bin/deno.zip inflating: /e/azerothcore-wotlk/deps/deno/bin/deno.exe Deno was installed successfully to /e/azerothcore-wotlk/deps/deno/bin/deno Manually add the directory to your $HOME/.bash_profile (or similar) export DENO_INSTALL="/e/azerothcore-wotlk/deps/deno" export PATH="$DENO_INSTALL/bin:$PATH" Run '/e/azerothcore-wotlk/deps/deno/bin/deno --help' to get started /e/azerothcore-wotlk/apps/bash_shared/deno.sh: line 17: ./deps/deno/bin/deno: cannot execute binary file: Exec format error
问题实际表现
- 脚本可自动完成Deno安装包下载、解压流程,成功生成适配Windows平台的
deno.exe可执行文件 - 安装流程结束后提示需手动将Deno安装路径写入
.bash_profile类环境配置文件 - 即便完成自动安装,后续Deno版本校验环节仍触发可执行文件格式不匹配错误,直接导致编译流程中断,无法继续推进
内容的提问来源于stack exchange,提问作者irubenp
相关产品推荐
相关产品推荐

