Ubuntu“grunt”不用输出更新控制台

时间:2013-08-10 07:38:30

标签: ubuntu gruntjs

我正在学习Grunt,并且是Nodejs环境的新手。

完成以下步骤,为我的某个项目

设置Grunt
  • 全球范围内安装了grunt-cli。
  • 使用$npm init
  • 创建了一个简单的项目
  • 使用$npm install grunt --save-dev添加了grunt,此命令创建了package.json
  • 我自己创建了Gruntfile.js并添加了以下行

    module.exports=function(grunt){};

从ubuntu bash-shell输入:$ grunt

我期待<WARN> Task "default" not found. Use --force to continue. </WARN>

但是在bash-console输出中它不会打印任何东西/看不到输出。任何人都可以帮助我,我正在使用Ubuntu bash shell。

0 个答案:

没有答案
相关问题