没有find突然的Grunt任务

我被这个难住了 我现在通过CLI和WebStorm使用Grunt一段时间。 今天我正在通过WebStorm Grunt面板运行一些手动Grunt任务,神奇的是,似乎发生了一些事情,我无法再在这个项目上运行任何任务(无论是通过WebStorm还是命令行)。 我已经尝试了一切,从重新安装grunt / grunt-cli,重新启动我的电脑,缩短grunt文件无济于事。 下面是一个带有问题输出的超级缩写Gruntfile.js。 任何想法可能发生的事情,以及如何恢复我的build设环境,非常感谢!

Carlos@XPS8500 ~/git/Test $ cat Gruntfile.js 'use strict'; module.exports = function (grunt) { require('load-grunt-tasks')(grunt); grunt.initConfig({ copy: { dist: { files: [ { expand: true, cwd: '.', src: 'package.json', dest: 'package.xxx' } ] } } }); grunt.registerTask('test', 'Test', function(){ grunt.task.run('copy:dist'); }); }; Carlos@XPS8500 ~/git/Test $ grunt --verbose test Initializing Command-line options: --verbose Reading "Gruntfile.js" Gruntfile...OK Registering Gruntfile tasks. Initializing config...OK Loading "Gruntfile.js" tasks...OK + test Running tasks: test Running "test" task Warning: Task "copy:dist" not found. Use --force to continue. Aborted due to warnings. Carlos@XPS8500 ~/git/Test