Compass socket hang with grunt

I ran grunt-contrib-compass@0.6.0 and interrupted this error:

node_modules/grunt-contrib-compass/node_modules/tmp/lib/tmp.js:261 throw err; ^ Error: socket hang up at createHangUpError (http.js:1476:15) at Socket.socketCloseListener (http.js:1526:23) at Socket.emit (events.js:95:17) at TCP.close (net.js:465:12) 

I upgraded to grunt-contrib-compass@1.0.1 , and now it does not exit anymore, but it gives the following errors / warnings (it does not exit anymore when this happens, even if it says fatal)

 Fatal error: socket hang up Fatal error: socket hang up 

I can only assume the same problem with better error handling. Is there a way to get the best information from what throws this error? This is part of my gruntfile compass

  compass: { options: { sassDir: '<%= yeoman.app %>/styles', cssDir: '.tmp/styles', generatedImagesDir: '.tmp/images/generated', imagesDir: '<%= yeoman.app %>/images', javascriptsDir: '<%= yeoman.app %>/scripts', fontsDir: '<%= yeoman.app %>/fonts', importPath: '<%= yeoman.app %>/bower_components', httpImagesPath: '/images', httpGeneratedImagesPath: '/images/generated', httpFontsPath: 'styles/fonts', relativeAssets: false, trace: true }, dist: {}, server: { options: { debugInfo: true } } }, 
+6
source share

Source: https://habr.com/ru/post/977708/


All Articles