自己用 docker run node:14 ,在里面用 npm install && npm run test 可以编译
但是放到 gitlab ci 的 k8s 环境里,报告
npm ERR! cb() never called!
npm ERR! This is an error with npm itself. Please report this error at:
npm ERR! <https://npm.community>
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2023-09-28T08_24_07_512Z-debug.log
Cleaning up project directory and file based variables
求教是什么问题?
1
nulIptr 2023-09-28 19:54:33 +08:00 via iPhone
去详细报错里面看看啊,你贴的这段啥也看不出来,要不就把 pipeline 和 dockerfile 都贴出来
|