我该如何解决Npm错误:找不到模块

时间:2019-07-20 11:35:59

标签: node.js npm gitlab-ci

不加任何推动地推入我的.gitlab-ci.yml和package.json文件后。我的测试停止在gitlab上工作,但在本地工作,当我推送时,SoundTypeQuery.js文件在那里。希望你能帮助我谢谢你

  

错误:找不到模块'../ Query / SoundTypeQuery.js'

at Function.Module._resolveFilename (internal/modules/cjs/loader.js:580:15)
at Function.Module._load (internal/modules/cjs/loader.js:506:25)
at Function.<anonymous> (/builds/FastDj/API/node_modules/@sentry/node/dist/integrations/console.js:36:47)
at Function._load (/builds/FastDj/API/node_modules/@sentry/node/dist/integrations/http.js:38:47)
at Module.require (internal/modules/cjs/loader.js:636:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object.<anonymous> (/builds/FastDj/API/Server/Routes/soundTypeCtrl.js:3:22)

这是我的.gitlab-ci.yml文件

Line from behind using zorder

0 个答案:

没有答案