Error updating to latest releases of V8

Hi

I am on below versions, but getting errors when updating, doing this from frappe bench folder.

ERPNext: v8.0.19 (master)
Frappe Framework: v8.0.26 (master)

Trying to update to the latest patches and release, but i am getting the below errors.

Can someone help with this please?

Traceback (most recent call last):
File “/usr/lib/python2.7/runpy.py”, line 162, in _run_module_as_main
main”, fname, loader, pkg_name)
File “/usr/lib/python2.7/runpy.py”, line 72, in _run_code
exec code in run_globals
File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 79, in
main()
File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 16, in main
click.Group(commands=commands)(prog_name=‘bench’)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 716, in call
return self.main(*args, **kwargs)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 696, in main
rv = self.invoke(ctx)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 534, in invoke
return callback(*args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/commands/utils.py”, line 16, in build
frappe.build.bundle(False, make_copy=make_copy, verbose=verbose)
File “/home/frappe/frappe-bench/apps/frappe/frappe/build.py”, line 37, in bundle
subprocess.call(command.split(’ '))
File “/usr/lib/python2.7/subprocess.py”, line 522, in call
return Popen(*popenargs, **kwargs).wait()
File “/usr/lib/python2.7/subprocess.py”, line 710, in init
errread, errwrite)
File “/usr/lib/python2.7/subprocess.py”, line 1327, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
frappe@erpnext:~/frappe-bench$

I had the same error. The problem was the command “node”.
If you type “node” in your console, you probably get a “command not found” error.

I had to install nodejs 7.10 as described here:

If you type “node --version” and get something like “v7.10.0” as response, the update should work.

I hope this helps.

1 Like

Hi

Thanks for this, your suggestion worked and i can do the updates now without any errors.

Many thanks for your help