johnpapa / ng-demos

variety of angular demos

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issues with running the npm serve-dev

bsricharan opened this issue · comments

I did try git clone https://github.com/johnpapa/ng-demos.git and it did not bring the ng-demos-modular folder . is that required ?

After that when i tried gulp serve dev
a)cannot find module active-x-obfuscator

image

b) in order to correct that i tried npm install active-x-obfuscator, i get below error.
image

some of the blogs i read said that did your NPM install went as expected ?
i do not see errors but i saw warning as if it so many modules depreciated .

Please help what i need to do to load the ng-demos project

I had a problem gulp serve-dev was not working
reason was version of node and karma

/Users/dn/workspace/ngwork/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. (/.../ng-demos/modular/node_modules/karma/node_modules/socket.io/lib/store.js:35:41)
at Module._compile (module.js:573:32)
at Object.Module._extensions..js (module.js:582:10)
at Module.load (module.js:490:32)
at tryModuleLoad (module.js:449:12)
at Function.Module._load (module.js:441:3)
at Module.require (module.js:500:17)
at require (internal/module.js:20:19)
at Object. (.../ng-demos/modular/node_modules/karma/node_modules/socket.io/lib/manager.js:16:13)
at Module._compile (module.js:573:32)

Fixed it by upgrading karma on latest 1.3.0and node on latest v7.1.0.