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

postinstall script fails on node4 #541

Closed
ahmadnassri opened this issue Sep 20, 2017 · 5 comments · Fixed by #542
Closed

postinstall script fails on node4 #541

ahmadnassri opened this issue Sep 20, 2017 · 5 comments · Fixed by #542

Comments

@ahmadnassri
Copy link
Contributor

Exit code: 1
Command: node build/utils/postinstall.js
Arguments: 
Directory: /home/ahmad/Projects/ahmadnassri/nightwatch-accessibility/node_modules/axe-core
Output:
/home/ahmad/Projects/ahmadnassri/nightwatch-accessibility/node_modules/axe-core/build/utils/postinstall.js:4
	let commitMsg = '.git/hooks/commit-msg'
	^^^

SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:373:25)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
@brokenmass
Copy link

Can you release this as a 2.x.x version asap please ?

@brokenmass
Copy link

Bump

@marcysutton
Copy link
Contributor

this was released as part of axe-core@2.4.2

@nemanjacosovic
Copy link

nemanjacosovic commented Dec 25, 2017

@marcysutton I'm having this failed on:

node v4.4.7
npm  v3.10.6

but it's working on:

node v6.10.0
npm v5.6.0

@marcysutton
Copy link
Contributor

axe-core requires node 6.

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

Successfully merging a pull request may close this issue.

4 participants