This is the error message during bench init --frappe branch bench
installation:
added 487 packages from 272 contributors and audited 3535 packages in 195.975s
found 0 vulnerabilities
/home/frappe/bench/apps/frappe/frappe/build.py:106: UserWarning: Source /home/frappe/bench/apps/frappe_io/frappe_io/docs does not exists.
warnings.warn('Source {source} does not exists.'.format(source = source))
SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at make_build_map (/home/frappe/bench/apps/frappe/frappe/build.js:193:22)
at Object.<anonymous> (/home/frappe/bench/apps/frappe/frappe/build.js:22:17)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Function.Module.runMain (module.js:694:10)
at startup (bootstrap_node.js:204:16)
Wrote css/frappe-web.css - 65.11 KB
Wrote js/frappe-web.min.js - 132.77 KB
Wrote js/control.min.js - 77.1 KB
Wrote js/dialog.min.js - 116.97 KB
Wrote css/desk.min.css - 309.05 KB
Wrote css/frappe-rtl.css - 32.49 KB
Wrote js/libs.min.js - 1.13 MB
Wrote js/desk.min.js - 462.89 KB
Wrote css/module.min.css - 2.08 KB
Wrote css/form.min.css - 4.47 KB
Wrote js/form.min.js - 196.71 KB
Wrote css/list.min.css - 13.36 KB
Wrote js/list.min.js - 154.85 KB
Wrote css/report.min.css - 7.89 KB
Wrote js/report.min.js - 260.58 KB
Wrote js/web_form.min.js - 247.55 KB
Wrote css/web_form.css - 24.42 KB
Wrote js/print_format_v3.min.js - 23.39 KB
INFO:bench.utils:setting up backups
no crontab for frappe
INFO:bench.utils:setting up auto update
no crontab for frappe
Bench bench initialized
As you can see, bench
successfully initialized, so I went ahead to bench get-app erpnext --branch master
, but it showed similar errors:
INFO:bench.app:installing foundation
INFO:bench.utils:./env/bin/pip install -q -e ./apps/foundation
/home/frappe/bench/apps/frappe/frappe/build.py:106: UserWarning: Source /home/frappe/bench/apps/frappe_io/frappe_io/docs does not exists.
warnings.warn('Source {source} does not exists.'.format(source = source))
/home/frappe/bench/apps/frappe/frappe/build.py:106: UserWarning: Source /home/frappe/bench/apps/foundation/foundation/docs does not exists.
warnings.warn('Source {source} does not exists.'.format(source = source))
SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at make_build_map (/home/frappe/bench/apps/frappe/frappe/build.js:193:22)
at Object.<anonymous> (/home/frappe/bench/apps/frappe/frappe/build.js:22:17)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Function.Module.runMain (module.js:694:10)
at startup (bootstrap_node.js:204:16)
SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at make_build_map (/home/frappe/bench/apps/frappe/frappe/build.js:193:22)
at Object.<anonymous> (/home/frappe/bench/apps/frappe/frappe/build.js:22:17)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Function.Module.runMain (module.js:694:10)
at startup (bootstrap_node.js:204:16)
Wrote css/frappe-web.css - 65.11 KB
Wrote js/frappe-web.min.js - 132.77 KB
Wrote js/control.min.js - 77.1 KB
Wrote js/dialog.min.js - 116.97 KB
Wrote css/desk.min.css - 309.05 KB
Wrote css/frappe-rtl.css - 32.49 KB
Wrote js/libs.min.js - 1.13 MB
Wrote js/desk.min.js - 462.89 KB
Wrote css/module.min.css - 2.08 KB
Wrote css/form.min.css - 4.47 KB
Wrote js/form.min.js - 196.71 KB
Wrote css/list.min.css - 13.36 KB
Wrote js/list.min.js - 154.85 KB
Wrote css/report.min.css - 7.89 KB
Wrote js/report.min.js - 260.58 KB
Wrote js/web_form.min.js - 247.55 KB
Wrote css/web_form.css - 24.42 KB
Wrote js/print_format_v3.min.js - 23.39 KB
Wrote css/erpnext.css - 8.1 KB
Wrote js/erpnext-web.min.js - 3.8 KB
Wrote js/erpnext.min.js - 166.15 KB
Wrote js/item-dashboard.min.js - 8.13 KB
Again, the installation mysteriously completes. Can I ignore these errors or will there be issues further down the road?