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

SyntaxError: Use of const in strict mode. #126

Closed
ghost opened this issue Nov 3, 2015 · 2 comments
Closed

SyntaxError: Use of const in strict mode. #126

ghost opened this issue Nov 3, 2015 · 2 comments

Comments

@ghost
Copy link

ghost commented Nov 3, 2015

After ed1696 commit I have an error:

path/to/lib/qs/lib/index.js:5

const Stringify = require('./stringify');
^^^^^
>> Mocha exploded!
>> SyntaxError: Use of const in strict mode.
...

I use node v0.10.40.

@Marsup
Copy link
Contributor

Marsup commented Nov 3, 2015

Use a qs version compatible with your node version.

@Marsup Marsup self-assigned this Nov 3, 2015
@Marsup Marsup closed this as completed Nov 3, 2015
@Marsup
Copy link
Contributor

Marsup commented Nov 3, 2015

FYI 5.2.0 was the latest one compatible with the node 0.x serie.

vdel26 added a commit to 3scale-labs/3scale_ws_api_for_nodejs that referenced this issue Nov 28, 2015
Latests versions of 'qs' are only supported on node 4
See: ljharb/qs#126
@ghost ghost unassigned Marsup Dec 22, 2015
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

1 participant