ng-demos icon indicating copy to clipboard operation
ng-demos copied to clipboard

Issues with running the npm serve-dev

Open bsricharan opened this issue 8 years ago • 1 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

bsricharan avatar Apr 20 '16 16:04 bsricharan

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.

demonno avatar Nov 12 '16 12:11 demonno