背景:我试图在electronJS代码上使用GitLab公共回购上的电子更新程序。
我正在遵循这个指南:https://gist.github.com/Slauta/5b2bcf9fa1f6f6a9443aa6b447bcae05
但是,随着错误,GitLab CI构建阶段一直失败。
TypeError: Cannot read property 'match' of undefined
at DestroyableTransform.errorHandler (/builds/cataxcab/the-wall/node_modules/fomantic-ui/tasks/config/tasks.js:108:29)
at DestroyableTransform.emit (events.js:203:15)
...
at DestroyableTransform.afterTransform (/builds/cataxcab/the-wall/node_modules/readable-stream/lib/_stream_transform.js:93:3)
at /builds/cataxcab/the-wall/node_modules/gulp-clean-css/index.js:38:16
...
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! fomantic-ui@2.8.4 install: `gulp install`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the fomantic-ui@2.8.4 install script.完全错误:https://gitlab.com/cataxcab/the-wall/-/jobs/550995808
我最新的..gitlab ci.yml文件:https://gitlab.com/cataxcab/the-wall/-/blob/master/.gitlab-ci.yml
这个问题似乎与这个问题相同:https://github.com/Semantic-Org/Semantic-UI/issues/2971;但是,我尝试了解决办法,但没有奏效:
rm -rf node_modules/gulp-autoprefixer
npm install gulp-autoprefixer@2.3.1任何帮助都将不胜感激,如果我的知识有空白的话,包括指点。
发布于 2020-05-16 12:10:41
此问题已在拉请求#1469中解决,并将在Fomanticv2.8.x中合并。
https://stackoverflow.com/questions/61780956
复制相似问题