phpcn_u15822017-05-16 16:44:48 0 3 427
如图,已经确定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_lee 2017-05-16 16:46:483楼
报错信息就是路径找不到,你用了nvm?确认/usr/local/bin/uglifyjs可以直接运行吗
赞 +0添加回复
伊谢尔伦 2017-05-16 16:46:482楼
压缩不是用grunt吗?
赞 +0添加回复
淡淡烟草味 2017-05-16 16:46:481楼
参考链接:
http://blog.csdn.net/w306621759/article/details/17737147
赞 +0添加回复