Grunt没有在本地正确构建 - 丢失文件

时间:2015-09-29 22:55:10

标签: javascript angularjs gruntjs npm grunt-contrib-requirejs

Grunt突然停止在当地正确建造。它不是构建由Angular提供服务的资产,并且控制台提供以下消息:

Uncaught Error: inc/../../../common/js/sv-common missing inc/../../../common/js/./lib/ngui-sortable

编辑:更多细节

Uncaught Error: ../../common/js/sv-common missing ../../common/js/./lib/ngui-sortable
> main @ www-app.js:296call
> Dep @ www-app.js:166
> main @ www-app.js:291call
> Dep @ www-app.js:166main @ www-app.js:291
> req @ www-app.js:359
> (anonymous function) @ www-app.js:3737
> (anonymous function) @ www-app.js:3738

我已经完成了对回购的全新结帐,我的团队中没有其他人遇到同样的问题。丢失的文件完全在我的本地repo中,它也在它的tmp /目录中。老实说,我不知道如何调试它。

$ grunt --stack -d
Running "jshint:local" (jshint) task
[D] Task source: /workspace/survata-com/node_modules/grunt-contrib-jshint/tasks/jshint.js
>> 0 files linted. Please check your ignored files.

Running "clean:local" (clean) task
[D] Task source: /workspace/survata-com/node_modules/grunt-contrib-clean/tasks/clean.js
Cleaning tmp/...OK
Cleaning /opt/survata/deploy...OK

Running "less:local" (less) task
[D] Task source: /workspace/survata-com/node_modules/grunt-contrib-less/tasks/less.js
File tmp/htdocs/assets/20150929_165903/www/survata-www.css created.
File tmp/htdocs/assets/20150929_165903/www/dashboard.css created.
File tmp/htdocs/assets/20150929_165903/surveys/surveys-app.css created.
File tmp/htdocs/assets/20150929_165903/take/surveys-app.css created.
File tmp/htdocs/assets/20150929_165903/surveywall/survey-wall.css created.
File tmp/htdocs/surveywall/style/build/survey-wall.css created.
File subdomains/surveywall/style/build/survey-wall.css created.

Running "copy:assets" (copy) task
[D] Task source: /workspace/survata-com/node_modules/grunt-contrib-copy/tasks/copy.js
Created 50 directories, copied 428 files

Running "shell:requirejs" (shell) task
[D] Task source: /workspace/survata-com/node_modules/grunt-shell/tasks/shell.js

Running "copy:common_deploy" (copy) task
[D] Task source: /workspace/survata-com/node_modules/grunt-contrib-copy/tasks/copy.js
Created 10 directories, copied 10 files

Running "shell:pygreen" (shell) task
[D] Task source: /workspace/survata-com/node_modules/grunt-shell/tasks/shell.js

Running "shell:replace_subdomain" (shell) task
[D] Task source: /workspace/survata-com/node_modules/grunt-shell/tasks/shell.js

Running "replace:local" (replace) task
[D] Task source: /workspace/survata-com/node_modules/grunt-text-replace/tasks/text-replace.js

Running "copy:deploy_local" (copy) task
[D] Task source: /workspace/survata-com/node_modules/grunt-contrib-copy/tasks/copy.js
Created 388 directories, copied 2148 files

Running "shell:deploy_local" (shell) task
[D] Task source: /workspace/survata-com/node_modules/grunt-shell/tasks/shell.js

Done, without errors.

0 个答案:

没有答案