首页 > 问答 > 正文
如图,已经确定uglify已经安装,但是,在js文件中报错
[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.
ringa_lee2017-05-16 16:46:48
报错信息就是路径找不到,你用了nvm?确认/usr/local/bin/uglifyjs可以直接运行吗
伊谢尔伦2017-05-16 16:46:48
压缩不是用grunt吗?
淡淡烟草味2017-05-16 16:46:48
参考链接:http://blog.csdn.net/w306621759/article/details/17737147