Windows 呼噜声在窗口服务,如何?

Windows 呼噜声在窗口服务,如何?,windows,node.js,gruntjs,Windows,Node.js,Gruntjs,我必须打开在Windows XP上运行的第二台计算机 我从存储库中关闭了我的项目,该存储库的结构包含tng bower.jcon、gruntile.js和其他以下文件,并且在使用MacOS X的第二台计算机上运行没有问题 之后,我启动了NodeJS命令promtp,移动到应用程序被clonned的目录中,并启动了commmand C:\workspace\myproject>grunt serve 我收到了以下错误消息: Loading "Gruntfile.js" tasks...ER

我必须打开在Windows XP上运行的第二台计算机

我从存储库中关闭了我的项目,该存储库的结构包含tng bower.jcon、gruntile.js和其他以下文件,并且在使用MacOS X的第二台计算机上运行没有问题

之后,我启动了NodeJS命令promtp,移动到应用程序被clonned的目录中,并启动了commmand

C:\workspace\myproject>grunt serve
我收到了以下错误消息:

Loading "Gruntfile.js" tasks...ERROR
>> Error: Cannot find module 'load-grunt-tasks'
Warning: Task "serve" not found. Use --force to continue.
我做错了什么?我怎样才能解决这个问题

非常感谢你的帮助

编辑:

Loading "Gruntfile.js" tasks...ERROR
>> Error: Cannot find module 'load-grunt-tasks'
Warning: Task "serve" not found. Use --force to continue.
我使用以下命令解决了此问题:

npm update npm -g
npm install
bower install
grunt serve

看起来您尚未安装
加载grunt任务
模块。仅供参考,这与AngularJS完全无关……您是否运行了
npm安装
?您的意思是
grunt服务器
?添加您的编辑作为答案,然后接受它