Loading "connect_proxy.js" tasks...ERROR >> TypeError: Cannot read property 'prototype' of undefined

1.3k views Asked by At

I'm trying to run a http server using grunt. However, when I type grunt serve in the appropriate directory, I'm presented with the following errors:

Loading "connect_proxy.js" tasks...ERROR
>> TypeError: Cannot read property 'prototype' of undefined
Loading "connect_proxy.js" tasks...ERROR
>> TypeError: Cannot read property 'prototype' of undefined
1

There are 1 answers

0
Elkdor On

Looks like some dependencies issues, look at this, apparently its solved if you update your "grunt-connect-proxy"

"devDependencies": {
"grunt-connect-proxy": "^0.2.0"
}

https://github.com/drewzboto/grunt-connect-proxy/issues/97