编译构建 CodeArts Build-执行Npm构建时,报错提示node-sass下载失败:问题现象

时间:2025-02-12 14:55:06

问题现象

执行Npm构建任务时,日志报如下异常信息:

Downloading binary from https://github.com/sass/node-sass/releases/download/v4.14.1/linux-x64-72_binding.nodeCannot download "https://github.com/sass/node-sass/releases/download/v4.14.1/linux-x64-72_binding.node": read ECONNRESET...npm ERR! code ELIFECYCLEnpm ERR! errno 1npm ERR! node-sass@4.14.1 postinstall: `node scripts/build.js`npm ERR! Exit status 1npm ERR! npm ERR! Failed at the node-sass@4.14.1 postinstall script.npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
support.huaweicloud.com/codeci_faq/codeci_02_0005.html