glen-84 / vscode-sass-lint

Sass Lint for Visual Studio Code
16 stars 1 forks source link

Sass lint doesn't work anymore #6

Closed naxsooley closed 7 years ago

naxsooley commented 8 years ago

Sass lint became broken after the latest VSCode update.

I get these errors each time I launch vscode:

events.js:160
      throw er; // Unhandled 'error' event
      ^

Error: watch node_modules/gulp.spritesmith/node_modules/xtend ENOSPC
    at exports._errnoException (util.js:1026:11)
    at FSWatcher.start (fs.js:1439:19)
    at Object.fs.watch (fs.js:1466:11)
    at createFsWatchInstance (/home/sooley/.vscode/extensions/glen-84.sass-lint-0.0.2/server/node_modules/chokidar/lib/nodefs-handler.js:37:15)
    at setFsWatchListener (/home/sooley/.vscode/extensions/glen-84.sass-lint-0.0.2/server/node_modules/chokidar/lib/nodefs-handler.js:74:15)
    at FSWatcher.NodeFsHandler._watchWithNodeFs (/home/sooley/.vscode/extensions/glen-84.sass-lint-0.0.2/server/node_modules/chokidar/lib/nodefs-handler.js:228:14)
    at FSWatcher.NodeFsHandler._handleDir (/home/sooley/.vscode/extensions/glen-84.sass-lint-0.0.2/server/node_modules/chokidar/lib/nodefs-handler.js:407:19)
    at FSWatcher.<anonymous> (/home/sooley/.vscode/extensions/glen-84.sass-lint-0.0.2/server/node_modules/chokidar/lib/nodefs-handler.js:455:19)
    at FSWatcher.<anonymous> (/home/sooley/.vscode/extensions/glen-84.sass-lint-0.0.2/server/node_modules/chokidar/lib/nodefs-handler.js:460:16)
    at FSReqWrap.oncomplete (fs.js:123:15)
[Info  - 10:11:05 AM] Connection to server got closed. Server will restart.
events.js:160
      throw er; // Unhandled 'error' event
      ^

Error: watch node_modules/gulp.spritesmith/test/test-files ENOSPC
    at exports._errnoException (util.js:1026:11)
    at FSWatcher.start (fs.js:1439:19)
    at Object.fs.watch (fs.js:1466:11)
    at createFsWatchInstance (/home/sooley/.vscode/extensions/glen-84.sass-lint-0.0.2/server/node_modules/chokidar/lib/nodefs-handler.js:37:15)
    at setFsWatchListener (/home/sooley/.vscode/extensions/glen-84.sass-lint-0.0.2/server/node_modules/chokidar/lib/nodefs-handler.js:74:15)
    at FSWatcher.NodeFsHandler._watchWithNodeFs (/home/sooley/.vscode/extensions/glen-84.sass-lint-0.0.2/server/node_modules/chokidar/lib/nodefs-handler.js:228:14)
    at FSWatcher.NodeFsHandler._handleDir (/home/sooley/.vscode/extensions/glen-84.sass-lint-0.0.2/server/node_modules/chokidar/lib/nodefs-handler.js:407:19)
    at FSWatcher.<anonymous> (/home/sooley/.vscode/extensions/glen-84.sass-lint-0.0.2/server/node_modules/chokidar/lib/nodefs-handler.js:455:19)
    at FSWatcher.<anonymous> (/home/sooley/.vscode/extensions/glen-84.sass-lint-0.0.2/server/node_modules/chokidar/lib/nodefs-handler.js:460:16)
    at FSReqWrap.oncomplete (fs.js:123:15)
[Info  - 10:11:10 AM] Connection to server got closed. Server will restart.
events.js:160
      throw er; // Unhandled 'error' event
      ^

Error: watch node_modules/gulp.spritesmith/test/expected-files ENOSPC
    at exports._errnoException (util.js:1026:11)
    at FSWatcher.start (fs.js:1439:19)
    at Object.fs.watch (fs.js:1466:11)
    at createFsWatchInstance (/home/sooley/.vscode/extensions/glen-84.sass-lint-0.0.2/server/node_modules/chokidar/lib/nodefs-handler.js:37:15)
    at setFsWatchListener (/home/sooley/.vscode/extensions/glen-84.sass-lint-0.0.2/server/node_modules/chokidar/lib/nodefs-handler.js:74:15)
    at FSWatcher.NodeFsHandler._watchWithNodeFs (/home/sooley/.vscode/extensions/glen-84.sass-lint-0.0.2/server/node_modules/chokidar/lib/nodefs-handler.js:228:14)
    at FSWatcher.NodeFsHandler._handleDir (/home/sooley/.vscode/extensions/glen-84.sass-lint-0.0.2/server/node_modules/chokidar/lib/nodefs-handler.js:407:19)
    at FSWatcher.<anonymous> (/home/sooley/.vscode/extensions/glen-84.sass-lint-0.0.2/server/node_modules/chokidar/lib/nodefs-handler.js:455:19)
    at FSWatcher.<anonymous> (/home/sooley/.vscode/extensions/glen-84.sass-lint-0.0.2/server/node_modules/chokidar/lib/nodefs-handler.js:460:16)
    at FSReqWrap.oncomplete (fs.js:123:15)
[Info  - 10:11:14 AM] Connection to server got closed. Server will restart.
events.js:160
      throw er; // Unhandled 'error' event
      ^

Error: watch node_modules/gulp.spritesmith/test/expected-files ENOSPC
    at exports._errnoException (util.js:1026:11)
    at FSWatcher.start (fs.js:1439:19)
    at Object.fs.watch (fs.js:1466:11)
    at createFsWatchInstance (/home/sooley/.vscode/extensions/glen-84.sass-lint-0.0.2/server/node_modules/chokidar/lib/nodefs-handler.js:37:15)
    at setFsWatchListener (/home/sooley/.vscode/extensions/glen-84.sass-lint-0.0.2/server/node_modules/chokidar/lib/nodefs-handler.js:74:15)
    at FSWatcher.NodeFsHandler._watchWithNodeFs (/home/sooley/.vscode/extensions/glen-84.sass-lint-0.0.2/server/node_modules/chokidar/lib/nodefs-handler.js:228:14)
    at FSWatcher.NodeFsHandler._handleDir (/home/sooley/.vscode/extensions/glen-84.sass-lint-0.0.2/server/node_modules/chokidar/lib/nodefs-handler.js:407:19)
    at FSWatcher.<anonymous> (/home/sooley/.vscode/extensions/glen-84.sass-lint-0.0.2/server/node_modules/chokidar/lib/nodefs-handler.js:455:19)
    at FSWatcher.<anonymous> (/home/sooley/.vscode/extensions/glen-84.sass-lint-0.0.2/server/node_modules/chokidar/lib/nodefs-handler.js:460:16)
    at FSReqWrap.oncomplete (fs.js:123:15)
[Info  - 10:11:17 AM] Connection to server got closed. Server will restart.
events.js:160
      throw er; // Unhandled 'error' event
      ^

Error: watch node_modules/handlebars/dist/amd ENOSPC
    at exports._errnoException (util.js:1026:11)
    at FSWatcher.start (fs.js:1439:19)
    at Object.fs.watch (fs.js:1466:11)
    at createFsWatchInstance (/home/sooley/.vscode/extensions/glen-84.sass-lint-0.0.2/server/node_modules/chokidar/lib/nodefs-handler.js:37:15)
    at setFsWatchListener (/home/sooley/.vscode/extensions/glen-84.sass-lint-0.0.2/server/node_modules/chokidar/lib/nodefs-handler.js:74:15)
    at FSWatcher.NodeFsHandler._watchWithNodeFs (/home/sooley/.vscode/extensions/glen-84.sass-lint-0.0.2/server/node_modules/chokidar/lib/nodefs-handler.js:228:14)
    at FSWatcher.NodeFsHandler._handleDir (/home/sooley/.vscode/extensions/glen-84.sass-lint-0.0.2/server/node_modules/chokidar/lib/nodefs-handler.js:407:19)
    at FSWatcher.<anonymous> (/home/sooley/.vscode/extensions/glen-84.sass-lint-0.0.2/server/node_modules/chokidar/lib/nodefs-handler.js:455:19)
    at FSWatcher.<anonymous> (/home/sooley/.vscode/extensions/glen-84.sass-lint-0.0.2/server/node_modules/chokidar/lib/nodefs-handler.js:460:16)
    at FSReqWrap.oncomplete (fs.js:123:15)
[Error - 10:11:21 AM] Connection to server got closed. Server will not be restarted.
glen-84 commented 8 years ago

You might have run out of disk space?

Also see: http://stackoverflow.com/questions/16748737/grunt-watch-error-waiting-fatal-error-watch-enospc

naxsooley commented 8 years ago

Nope, I've more than 100gb of free space. I'm using VSCode 1.6.1 on Ubuntu and Macbook, both have a same error.

glen-84 commented 7 years ago

@naxsooley Could you please try the latest version? (v0.0.3)

cortopy commented 7 years ago

I'm also having the same errors.

Thinking this may be a dependency issue, I have re-installed sass-lint using npm. I also have sass-node and sass (gem).

glen-84 commented 7 years ago

I'll need more information, such as:

cortopy commented 7 years ago

I haven't looked into this for a while but today I re-enabled sass lint and it started working. Many updates in the last month of various things, so I'm not sure what fixed it.

glen-84 commented 7 years ago

@cortopy Do you have the Sass extension installed?

glen-84 commented 7 years ago

Closing, as I cannot reproduce the error, and there has not been a reply from the OP.