Try ERPNext Buy Support Partners Foundation

Error while bench update --requirements

Traceback (most recent call last):
File “/usr/local/bin/bench”, line 11, in
load_entry_point(‘bench’, ‘console_scripts’, ‘bench’)()
File “/home/frappe/.bench/bench/”, line 41, in cli
File “/usr/local/lib/python3.6/dist-packages/click/”, line 764, in call
return self.main(*args, **kwargs)
File “/usr/local/lib/python3.6/dist-packages/click/”, line 717, in main
rv = self.invoke(ctx)
File “/usr/local/lib/python3.6/dist-packages/click/”, line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python3.6/dist-packages/click/”, line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python3.6/dist-packages/click/”, line 555, in invoke
return callback(*args, **kwargs)
File “/home/frappe/.bench/bench/commands/”, line 25, in update
update(pull=pull, patch=patch, build=build, requirements=requirements, restart_supervisor=restart_supervisor, restart_systemd=restart_systemd, backup=not no_backup, force=force, reset=reset)
File “/home/frappe/.bench/bench/”, line 166, in update
conf = get_config(bench_path)
File “/home/frappe/.bench/bench/config/”, line 32, in get_config
return get_common_site_config(bench_path)
File “/home/frappe/.bench/bench/config/”, line 39, in get_common_site_config
return json.load(f)
File “/usr/lib/python3.6/json/”, line 299, in load
parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
File “/usr/lib/python3.6/json/”, line 354, in loads
return _default_decoder.decode(s)
File “/usr/lib/python3.6/json/”, line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File “/usr/lib/python3.6/json/”, line 355, in raw_decode
obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 17 column 1 (char 476)

My actual error was when started bench i got some syntax error but i got the solution for it which needed to run bench update --requirements but im getting this error when i run the command. Please guide me through this Hope Anyone of u can help me with this.

did you change anything recently in the common_site_config.json - it is available in the sites folder, check the property on line 17. the code is expecting the key in double quotes.

I checked the file and i didn’t change anything, All the keys are in double qoutes too.

When run bench start im getting the following error.

15:02:05 watch.1 | Error in: /home/nights_of_coding/frappe-bench/apps/frappe/frappe/public/scss/website.scss
15:02:05 watch.1 | Error: You need to install either node-sass or sass in order to process Sass files