I tried to follow the wizard to setup the company,
but only the [E] appears on the desk.
Website seems ok, but returning to Desk, nothing works.
In the ls console I get this error: Uncaught TypeError: moment$1 is not a function
_ at new datetime (chat.js:100)_
_ at Object.frappe.datetime.now (chat.js:140)_
_ at Logger.log (chat.js:561)_
_ at Logger.info (chat.js:556)_
_ at Object.frappe.chat.setup (chat.js:2706)_
_ at HTMLDocument. (chat.js:2759)_
_ at HTMLDocument.dispatch (jquery.min.js:3)_
_ at HTMLDocument.r.handle (jquery.min.js:3)_
_ at Object.trigger (jquery.min.js:4)_
_ at n.fn.init.triggerHandler (jquery.min.js:_4)
The βAboutβ function in the menu works and shows:
frappe@ production /opt/bench/erpnext/apps/frappe
FRAPPE_ENV=production node rollup/build.js
Production mode
β Built js/libs.min.js
(node:4357) UnhandledPromiseRejectionWarning: TypeError: uglify is not a function
at get_rollup_options_for_js (/opt/bench/erpnext/apps/frappe/rollup/config.js:48:17)
at get_rollup_options (/opt/bench/erpnext/apps/frappe/rollup/config.js:25:10)
at Object.keys.map.output_file (/opt/bench/erpnext/apps/frappe/rollup/config.js:139:5)
at Array.map (<anonymous>)
at get_options_for (/opt/bench/erpnext/apps/frappe/rollup/config.js:127:4)
at build_assets (/opt/bench/erpnext/apps/frappe/rollup/build.js:32:18)
at /opt/bench/erpnext/apps/frappe/rollup/build.js:27:30
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
at Function.Module.runMain (module.js:695:11)
(node:4357) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:4357) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
is there a hint for missing installation in this error message?
during install, I had to install a nummer of missing pyton modules.
and the console JS shows an error in the browser js console:
(isnβt this what you call traceback ? tech me how to see traceback)
chat.js:100 Uncaught TypeError: moment$1 is not a function
at new datetime (chat.js:100)
at Object.frappe.datetime.now (chat.js:140)
at Logger.log (chat.js:561)
at Logger.info (chat.js:556)
at Object.frappe.chat.setup (chat.js:2706)
at HTMLDocument. (chat.js:2759)
at HTMLDocument.dispatch (jquery.min.js:3)
at HTMLDocument.r.handle (jquery.min.js:3)
at Object.trigger (jquery.min.js:4)
at HTMLDocument. (jquery.min.js:4)
and this did the job,
after
bench update --requirements
bench migrate
bench clear-cache
bench build
I got the lovely list of success:
> frappe@ production /opt/bench/erpnext/apps/frappe
> FRAPPE_ENV=production node rollup/build.js
Production mode
β Built js/libs.min.js
Building frappe assets...
β Built js/print_format_v3.min.js
β Built css/module.min.css
β Built css/form.min.css
β Built frappe/css/email.css
β Built js/web_form.min.js
β Built js/dialog.min.js
β Built css/frappe-rtl.css
β Built css/web_form.css
β Built css/report.min.css
β Built js/frappe-web.min.js
β Built css/list.min.css
β Built css/frappe-web.css
β Built js/report.min.js
β Built js/form.min.js
β Built js/list.min.js
β Built js/control.min.js
β Built js/desk.min.js
β Built css/desk.min.css
β¨ Done in 39.869s
Building erpnext assets...
β Built js/erpnext-web.min.js
β Built js/item-dashboard.min.js
β Built css/erpnext.css
β Built js/erpnext.min.js
β¨ Done in 1.773s