我是使用gitlab CI的新手。我正在通过gitlab部署一个gulp网站,一切都在本地工作正常,部署没有错误,直到我最近的提交。在gitlab上构建管道期间出现以下错误。
npm info lifecycle undefined~preshrinkwrap: undefined
npm info lifecycle undefined~shrinkwrap: undefined
npm info lifecycle undefined~postshrinkwrap: undefined
npm info ok
up to date in 7.152s
$ ./scripts/build_website.sh
module.js:487
throw err;
^
Error: Cannot find module 'gulp-sass'
at Function.Module._resolveFilename (module.js:485:15)
at Function.Module._load (module.js:437:25)
at Module.require (module.js:513:17)
at require (internal/module.js:11:18)
at Module._compile (module.js:569:30)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
ERROR: Job failed: exit code 1
对于这个问题,我将不胜感激。 提前致谢