Update error on VM from v8 Failed at the chromedriver@2.35.0 install script

Hi few month i use vm download from erpnext website updated untill v8 now i got this error
node js is latest version mpn is 5.6.0

Updating node libraries…
INFO:bench.utils:npm install

chromedriver@2.35.0 install /home/frappe/frappe-bench/node_modules/chromedriver
node install.js

Only Linux 64 bits supported.
npm WARN frappe@ No description
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“ia32”})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! chromedriver@2.35.0 install: node install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the chromedriver@2.35.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/frappe/.npm/_logs/2018-02-06T12_15_06_823Z-debug.log
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 11, in
load_entry_point(‘bench’, ‘console_scripts’, ‘bench’)()
File “/home/frappe/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/frappe/bench-repo/bench/commands/update.py”, line 58, in update
_update(pull, patch, build, bench, auto, restart_supervisor, requirements, no_backup, force=force, reset=reset)
File “/home/frappe/bench-repo/bench/commands/update.py”, line 75, in _update
update_npm_packages(bench_path=bench_path)
File “/home/frappe/bench-repo/bench/utils.py”, line 460, in update_npm_packages
exec_cmd(‘npm install’, cwd=bench_path)
File “/home/frappe/bench-repo/bench/utils.py”, line 142, in exec_cmd
raise CommandFailedError(cmd)
bench.utils.CommandFailedError: npm install

any solution ?

“any solution ?”

First diagnose the problem -

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! chromedriver@2.35.0 install: node install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the chromedriver@2.35.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/frappe/.npm/_logs/2018-02-06T12_15_06_823Z-debug.log

I try this without succes npm always try to install 2.35.0

I am just user not develloper so easyest solution for normal user like me is put aways 1 year job and start with new fresh VM

Reason: chromedriver >=2.34.x does not support 32bit Linux any more
Solution: need to downgrade the chromedriver to <2.34.x
    login into Terminal #1
        bench init frappe-bench && cd frappe-bench
    login into Terminal #2
        ls -al /home/frappe/frappe-bench/apps/frappe/
        until the /home/frappe/frappe-bench/apps/frappe/package.json existing (Terminal #1 will download the latest master branch of frappe)
    login into Terminal #3
        vi /home/frappe/frappe-bench/apps/frappe/package.json
        …
        "chromedriver": from "^2.32.3" to "~2.32.3", (should be ~2.33.3, but my typing error in testing, it works)
        …
    @ Terminal #1
        after the above Terminal #2 & Terninal #3, it will pass this error.