As shown in the figure, it has been confirmed that uglify has been installed, but an error is reported in the js file
[exception] 500 | Internal Server Error | RuntimeException [message] Path to node executable could not be resolved. 1 RuntimeException: Path to node executable could not be resolved.
The error message is that the path cannot be found. Did you use nvm? Confirm that /usr/local/bin/uglifyjs can be run directly
Don’t you use grunt for compression?
Reference link:
http://blog.csdn.net/w306621759/article/details/17737147