-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Milestone
Description
When starting beef the following is displayed
[ 8:46:15][!] [AdminUI] Error: Could not minify JavaScript file: web_ui_all
388
[ 8:46:15] |_ [AdminUI] Ensure nodejs is installed and node' is in $PATH` !
When investing the error there is a requirement for harmony: true to be set for ES6 js.
add this to the opts hash passed to the compiler will resolve this issue
beef/extensions/admin_ui/api/handler.rb
Lines 25 to 32 in dc68ed9
| opts = { | |
| :output => { | |
| :comments => :none | |
| }, | |
| :compress => { | |
| :dead_code => true, | |
| } | |
| } |
ruby opts = { :output => { :comments => :none }, :compress => { :dead_code => true, }, harmony: true }
Metadata
Metadata
Assignees
Labels
No labels