TypeError: Cannot read property 'prototype' of undefined
at Object. (C:\Users\juan.cuadros\Desktop\JohnPapa\ng-demos\modular\node_modules\karma\node_modules\socket.io\lib\store.js:35:42)
at Module._compile (internal/modules/cjs/loader.js:776:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:690:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (C:\Users\juan.cuadros\Desktop\JohnPapa\ng-demos\modular\node_modules\karma\node_modules\socket.io\lib\manager.js:16:13)
at Module._compile (internal/modules/cjs/loader.js:776:30)
@johnpapa
Following the AngularJS Patterns course and when i rune gulp serve-dev i get the following problem
PS C:\Users\juan.cuadros\Desktop\JohnPapa\ng-demos\modular> gulp serve-dev C:\Users\juan.cuadros\Desktop\JohnPapa\ng-demos\modular\node_modules\karma\node_modules\socket.io\lib\store.js:35 Store.prototype.proto = EventEmitter.prototype; ^
TypeError: Cannot read property 'prototype' of undefined at Object. (C:\Users\juan.cuadros\Desktop\JohnPapa\ng-demos\modular\node_modules\karma\node_modules\socket.io\lib\store.js:35:42)
at Module._compile (internal/modules/cjs/loader.js:776:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:690:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (C:\Users\juan.cuadros\Desktop\JohnPapa\ng-demos\modular\node_modules\karma\node_modules\socket.io\lib\manager.js:16:13)
at Module._compile (internal/modules/cjs/loader.js:776:30)
I'm using Windows 10
Gulp: CLI version: 2.2.0 Local version: 3.9.1