Yuglify compressor can't find binary from package installed through npm

后端 未结 2 700
离开以前
离开以前 2021-02-02 14:23

I have a fresh virtualenv environment and have got the latest django-pipleline.

The JS compression with Closure works perfect, but CSS compression with Yuglify fails, du

2条回答
  •  逝去的感伤
    2021-02-02 14:49

    In my case both uglify-js and cssmin were somehow not installed.

    So I have re-installed them again by using following command and then it starts working again.

    sudo npm install -g cssmin uglify-js
    

提交回复
热议问题