Ishio
Ishio

Reputation: 765

Grunt for Brackets Extension Not Working For me

When I use this plugin, Grunt for Brackets, it doesn't seem to work for me. I've looked and looked and looked through the files of the extension, and when I "grunt," my devtools spit out this log.

[node-log 10:01:49 AM] { '0': { [Error: spawn ENOENT] code: 'ENOENT', errno: 'ENOENT', syscall: 'spawn' } }

I'm not exactly sure what that means...

Here is a link to the extension. The author has not updated anything in months, and there is an open issue ticket, however there hasn't been any responses.

If someone could help me decipher this log, I would greatly appreciate it.

Upvotes: 0

Views: 533

Answers (1)

peterflynn
peterflynn

Reputation: 4896

Do you have Grunt installed on your computer already? If so, is it installed in the standard location? (e.g. did you intsall using npm -g grunt?)

ENOENT basically means "file not found," and since the error message also says spawn I'm guessing the problem is it's unable to find the Grunt binary to execute.


Update: Looks like a bug in how the current version of the extension was packaged. You should be able to fix it yourself this way:

  1. Help > Show Extensions Folder in Brackets and find the brackets-grunt extension in the 'user' subfolder
  2. Open a command prompt at that location
  3. cd into the node folder inside the extension
  4. Run npm install

I added a note to the bug, so hopefully the extension's author will fix it soon too.

Upvotes: 2

Related Questions