相关疑难解决方法(0)

错误代码:800A1391源:Microsoft JScript运行时错误运行Grunt - 模块未定义

今天使用大量新工具(npm nodejs)的新Grunt用户.

我已经"安装"了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 Script Host
Script: c:\users\[]\Documents\code\grunt\grunt.js
Line: 2
Char: 1
Error: 'module' is undefined
Code: 800A1391
Source: Microsoft JScript runtime error

node.js

17
推荐指数
3
解决办法
2万
查看次数

标签 统计

node.js ×1