【发布时间】:2012-06-15 23:05:00
【问题描述】:
这里是新的 Grunt 用户,他今天使用了很多新工具 (npm nodejs)。
我已经“安装”了 Grunt,并且能够使用这里描述的 init 任务创建一个 grunt.js 文件:http://net.tutsplus.com/tutorials/javascript-ajax/meeting-grunt-the-build-tool-for-javascript/ 和这里:https://github.com/cowboy/grunt/blob/master/docs/getting_started.md。但是每当我运行“grunt”命令时,我都会收到一个错误:
Windows 脚本宿主 脚本:c:\users\[]\Documents\code\grunt\grunt.js 线路:2 字符:1 错误:“模块”未定义 代码:800A1391 来源:Microsoft JScript 运行时错误【问题讨论】:
标签: node.js