Bench update error in json decode Expecting property name enclosed in double quotes

Hello, I installing Frappe Framework on a mac for first time using this guide github.com/frappe/bench/wiki/Turning-a-Mac-into-a-Frappe-Framework-Developer-Machine#create-a-new-bench and I’ve got this error after entering the command ‘bench update’ , appreciate any help, thx
(bench-env) Mohammeds-MacBook-Pro:frappe-bench mohammed$ bench update
INFO:bench.utils:updating bench
INFO:bench.utils:git pull
Already up to date.
INFO:bench.utils:./env/bin/pip install Pillow
Requirement already satisfied: Pillow in ./env/lib/python3.7/site-packages (6.0.0)
INFO:bench.app:pulling frappe
INFO:bench.utils:git pull upstream develop
From
* branch develop -> FETCH_HEAD
Already up to date.
INFO:bench.utils:find . -name “.pyc" -delete
INFO:bench.app:pulling erpnext
INFO:bench.utils:git pull upstream develop
From
* branch develop -> FETCH_HEAD
Already up to date.
INFO:bench.utils:find . -name "
.pyc” -delete
Updating Python libraries…
INFO:bench.utils:./env/bin/pip install --upgrade pip
Requirement already up-to-date: pip in ./env/lib/python3.7/site-packages (19.0.3)
INFO:bench.utils:./env/bin/pip install -q -r /Users/mohammed/frappe/bench-repo/requirements.txt
INFO:bench.app:installing frappe
INFO:bench.utils:./env/bin/pip install -q -e ./apps/frappe
INFO:bench.app:installing erpnext
INFO:bench.utils:./env/bin/pip install -q -e ./apps/erpnext
Updating node packages…
INFO:bench.utils:yarn install
yarn install v1.10.1
[1/4] :mag: Resolving packages…
[2/4] :truck: Fetching packages…
[3/4] :link: Linking dependencies…
warning " > bootstrap@4.3.1" has unmet peer dependency “jquery@1.9.1 - 3”.
warning " > bootstrap@4.3.1" has unmet peer dependency “popper.js@^1.14.7”.
[4/4] :page_with_curl: Building fresh packages…
:sparkles: Done in 2.22s.
INFO:bench.utils:yarn install
yarn install v1.10.1
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/4] :mag: Resolving packages…
success Already up-to-date.
:sparkles: Done in 0.19s.
Backing up sites…
Traceback (most recent call last):
File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/runpy.py”, line 193, in _run_module_as_main
main”, mod_spec)
File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/runpy.py”, line 85, in _run_code
exec(code, run_globals)
File “/Users/mohammed/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 97, in
main()
File “/Users/mohammed/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 18, in main
click.Group(commands=commands)(prog_name=‘bench’)
File “/Users/mohammed/frappe/frappe-bench/env/lib/python3.7/site-packages/click/core.py”, line 764, in call
return self.main(*args, **kwargs)
File “/Users/mohammed/frappe/frappe-bench/env/lib/python3.7/site-packages/click/core.py”, line 717, in main
rv = self.invoke(ctx)
File “/Users/mohammed/frappe/frappe-bench/env/lib/python3.7/site-packages/click/core.py”, line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/Users/mohammed/frappe/frappe-bench/env/lib/python3.7/site-packages/click/core.py”, line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/Users/mohammed/frappe/frappe-bench/env/lib/python3.7/site-packages/click/core.py”, line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/Users/mohammed/frappe/frappe-bench/env/lib/python3.7/site-packages/click/core.py”, line 555, in invoke
return callback(*args, **kwargs)
File “/Users/mohammed/frappe/frappe-bench/env/lib/python3.7/site-packages/click/decorators.py”, line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File “/Users/mohammed/frappe/frappe-bench/apps/frappe/frappe/commands/init.py”, line 25, in _func
ret = f(frappe._dict(ctx.obj), *args, **kwargs)
File “/Users/mohammed/frappe/frappe-bench/apps/frappe/frappe/commands/site.py”, line 301, in backup
frappe.init(site=site)
File “/Users/mohammed/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 151, in init
local.conf = _dict(get_site_config())
File “/Users/mohammed/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 220, in get_site_config
config.update(get_file_json(site_config))
File “/Users/mohammed/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 998, in get_file_json
return json.load(f)
File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/init.py”, line 296, in load
parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/init.py”, line 348, in loads
return _default_decoder.decode(s)
File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/decoder.py”, line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/decoder.py”, line 355, in raw_decode
obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 5 column 2 (char 95)

Which part you are going to update ? look like your libraries need to be update. Basically frappe has 2 core apps, frappe and erpnext. I am not familiar with Mac. but test with command env/bin/pip3 install - ./apps/frappe/requirements.txt to ensure all requirements well installed

Did u solve it?