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

Type Error: argv._.includes('init') in Node 4.4 #140

Closed
pavkout opened this issue May 14, 2017 · 6 comments
Closed

Type Error: argv._.includes('init') in Node 4.4 #140

pavkout opened this issue May 14, 2017 · 6 comments

Comments

@pavkout
Copy link

pavkout commented May 14, 2017

In Windows 10, node 4.4 i get this error.
TypeError: argv._.includes is not a function.

The problem is solved after upgrading to node 6 but since in the package.json it says it is compatible with node >= 4 i thought i should create this issue.

@evenstensberg
Copy link
Member

Mind posting a screenshot of your output w/ stacktrace?

@zowers
Copy link

zowers commented May 15, 2017

upgrade to nodejs-6 fixes the issue

@evenstensberg
Copy link
Member

We support v4 too @zowers , this should work 👍

@okonet
Copy link
Contributor

okonet commented May 21, 2017

AFAIK includes isn't in Node v4. See http://node.green/#ES2016-features-Array-prototype-includes-Array-prototype-includes

So we either should polyfill it or rewrite it with ES5.

@evenstensberg
Copy link
Member

Rewrite would be appropriate in this situation :)

@evenstensberg
Copy link
Member

Closed À la #183

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

No branches or pull requests

4 participants