Erpnext: errors on 8.0.31 upgrade

Created on 19 May 2017  路  6Comments  路  Source: frappe/erpnext

bench update

.
.
.
--Error in:/opt/prod_erpnext/apps/frappe/frappe/public/js/frappe/form/multi_select_dialog.js--
Traceback (most recent call last):
File "/opt/prod_erpnext/apps/frappe/frappe/build.py", line 144, in pack
jsm.minify(tmpin, tmpout)
File "/opt/prod_erpnext/apps/frappe/frappe/utils/minify.py", line 210, in minify
self._jsmin()
File "/opt/prod_erpnext/apps/frappe/frappe/utils/minify.py", line 201, in _jsmin
self._action(1)
File "/opt/prod_erpnext/apps/frappe/frappe/utils/minify.py", line 131, in _action
raise UnterminatedStringLiteral()
UnterminatedStringLiteral

Wrote ./assets/js/dialog.min.js - 69k
--Error in:/opt/prod_erpnext/apps/frappe/frappe/public/js/frappe/form/multi_select_dialog.js--
Traceback (most recent call last):
File "/opt/prod_erpnext/apps/frappe/frappe/build.py", line 144, in pack
jsm.minify(tmpin, tmpout)
File "/opt/prod_erpnext/apps/frappe/frappe/utils/minify.py", line 210, in minify
self._jsmin()
File "/opt/prod_erpnext/apps/frappe/frappe/utils/minify.py", line 201, in _jsmin
self._action(1)
File "/opt/prod_erpnext/apps/frappe/frappe/utils/minify.py", line 131, in _action
raise UnterminatedStringLiteral()
UnterminatedStringLiteral
.
.
.
.

bug framework installation

Most helpful comment

after frappe update 8.0.53 the error is

bench update
.
.
.
Syncing help database...
module.js:471
throw err;
^

Error: Cannot find module 'less'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (/opt/prod_erpnext/apps/frappe/frappe/build.js:4:14)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)

All 6 comments

Same issue, I cannot build (minify) the js apps/frappe/frappe/public/js/frappe/form/multi_select_dialog.js

This will lead to inactive button inside the erp

Same issue here

after frappe update 8.0.53 the error is

bench update
.
.
.
Syncing help database...
module.js:471
throw err;
^

Error: Cannot find module 'less'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (/opt/prod_erpnext/apps/frappe/frappe/build.js:4:14)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)

Same issue

Hello. Try to install less with:
npm install less

Make sure you are in the frappe-bench directory.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rmehta picture rmehta  路  3Comments

jboilesen picture jboilesen  路  3Comments

neilLasrado picture neilLasrado  路  4Comments

heyakyra picture heyakyra  路  4Comments

giuseppelamatrice picture giuseppelamatrice  路  3Comments