What node version will we use for erpnext V8?

I am getting error, When we run this command : bench init frappe-bench && cd frappe-bench

npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.1.2
npm WARN frappe@ No description
npm ERR! Linux 3.13.0-121-generic
npm ERR! argv “/usr/local/heroku/bin/node” “/usr/local/bin/npm” “install”
npm ERR! node v7.10.0
npm ERR! npm v3.9.5
npm ERR! code ELIFECYCLE

npm ERR! chromedriver@2.30.1 install: node install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the chromedriver@2.30.1 install script ‘node install.js’.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the chromedriver package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs chromedriver
npm ERR! Or if that isn’t available, you can get their info via:
npm ERR! npm owner ls chromedriver
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/cis/Desktop/sapconproject/frappe-bench/npm-debug.log
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 9, in
load_entry_point(‘bench==4.1.0’, ‘console_scripts’, ‘bench’)()
File “/home/cis/Desktop/sapconproject/bench-repo/bench/cli.py”, line 40, in cli
bench_command()
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 722, in call
return self.main(*args, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 697, in main
rv = self.invoke(ctx)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 535, in invoke
return callback(*args, **kwargs)
File “/home/cis/Desktop/sapconproject/bench-repo/bench/commands/make.py”, line 19, in init
verbose=verbose, clone_from=clone_from)
File “/home/cis/Desktop/sapconproject/bench-repo/bench/utils.py”, line 64, in init
update_npm_packages(bench_path=path)
File “/home/cis/Desktop/sapconproject/bench-repo/bench/utils.py”, line 432, in update_npm_packages
exec_cmd(‘npm install’, cwd=bench_path)
File “/home/cis/Desktop/sapconproject/bench-repo/bench/utils.py”, line 130, in exec_cmd
raise CommandFailedError(cmd)
bench.utils.CommandFailedError: npm install

Try
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
apt install nodejs

2 Likes