You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
The text was updated successfully, but these errors were encountered:
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.
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)
The text was updated successfully, but these errors were encountered: