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

nodejs v7.1.0 errors on gulp commands #78

Closed
jmartinm opened this issue Nov 18, 2016 · 0 comments · Fixed by #79
Closed

nodejs v7.1.0 errors on gulp commands #78

jmartinm opened this issue Nov 18, 2016 · 0 comments · Fixed by #79
Assignees

Comments

@jmartinm
Copy link
Member

Mac OS with nodejs v7.1.0

When I run any gulp command, like npm run test the following error happens:

/Users/jmartinm/.virtualenvs/invenio3/src/invenio-search-js/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.<anonymous> (/Users/jmartinm/.virtualenvs/invenio3/src/invenio-search-js/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.<anonymous> (/Users/jmartinm/.virtualenvs/invenio3/src/invenio-search-js/node_modules/karma/node_modules/socket.io/lib/manager.js:16:13)
    at Module._compile (module.js:573:32)

Which is caused by old karma using functions deprecated in newer Nodejs (similar to LearnBoost/websocket.io#55).

jmartinm added a commit to jmartinm/invenio-search-js that referenced this issue Nov 18, 2016
* Updates dev dependencies to support NodeJS 7.x. (closes inveniosoftware#78)

Signed-off-by: Javier Martin Montull <[email protected]>
@jmartinm jmartinm self-assigned this Nov 18, 2016
jmartinm added a commit to jmartinm/invenio-search-js that referenced this issue Nov 21, 2016
* Updates dev dependencies to support NodeJS 7.x. (closes inveniosoftware#78)

* Amends .travis.yml node versions to only contain latest releases.

Signed-off-by: Javier Martin Montull <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants