Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with running the npm serve-dev #87

Open
bsricharan opened this issue Apr 20, 2016 · 1 comment
Open

Issues with running the npm serve-dev #87

bsricharan opened this issue Apr 20, 2016 · 1 comment

Comments

@bsricharan
Copy link

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

@demonno
Copy link

demonno commented Nov 12, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants