Try to help the user a bit when node-canvas installation failed during install
Refator css extension switch
Refactor canvas failure checking
Simplify CSS preprocessor switch