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

Problem With gulp serve in window #11

Open
jay-thanki opened this issue Feb 14, 2018 · 1 comment
Open

Problem With gulp serve in window #11

jay-thanki opened this issue Feb 14, 2018 · 1 comment

Comments

@jay-thanki
Copy link

D:\xampp\htdocs\ani-theme\node_modules\socket.io\lib\store.js:35
Store.prototype.proto = EventEmitter.prototype;
^

TypeError: Cannot read property 'prototype' of undefined
at Object. (D:\xampp\htdocs\ani-theme\node_modules\socket.io\lib\store.js:35:42)
at Module._compile (module.js:635:30)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
at Module.require (module.js:579:17)
at require (internal/module.js:11:18)
at Object. (D:\xampp\htdocs\ani-theme\node_modules\socket.io\lib\manager.js:16:13)
at Module._compile (module.js:635:30)

@fadziljusri
Copy link

It is because process.EventEmitter is deprecated in latest Node.js releases. To use gulp (serve, build, etc..) for this template you need to downgrade to node version 6.x.x , or you can use nvm for windows and use node 6.x.x instead.

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