2
我想使用grunt运行一个http服务器。然而,当我在相应的目录中输入grunt serve
,我出现以下错误:Grunt服务“configureProxies:服务器”找不到和“connect_proxy.js”错误
Loading "connect_proxy.js" tasks...ERROR
>> TypeError: Cannot read property 'prototype' of undefined
Running "serve" task
Warning: Task "configureProxies:server" not found. Use --force to continue.
我的NodeJS,节点包管理器,以及红宝石安装是在以下版本:
npm -v
1.3.10
nodejs -v
v0.10.25
ruby -v
ruby 1.9.3p484 (2013-11-22 revision 43786) [x86_64-linux]
我如何获得缺失的依赖关系?我已经在Windows 8和全新的基本操作系统Freya上安装了这个软件。两者都出现完全相同的问题。有任何想法吗?