atom-grunt-runner icon indicating copy to clipboard operation
atom-grunt-runner copied to clipboard

Error loading gruntfile: EBADF

Open Noah-Huppert opened this issue 10 years ago • 4 comments

When I open the panel(Grunt Runner: Toggle Panel) in Atom I get the following error

Error loading gruntfile: EBADF

I have replicated this bug with .coffee and .js Gruntfiles. Both of these Gruntfiles were in the root of the project.

When I run Atom as administrator I get a different error in panel

Error loading gruntfile: MODULE_NOT_FOUND

System Information

  • OS: Windows 8.1 x64
  • Atom Version: 0.177.0
  • Atom Grunt Runner Version: 0.6.0(Latest on Atom.io)

Screen Shots

With Gruntfile.js
Gruntfile.js


With Gruntfile.coffee
Gruntfile.coffee


With Gruntfile.coffee and Atom run as administrator
Gruntfile.coffee and Atom run as administrator

Noah-Huppert avatar Feb 04 '15 03:02 Noah-Huppert

The EBADF sounds like it might be a file permissions error? Anyways, I've upgraded how this plugin tries to find the grunt module. Would you mind updating and trying again?

nickclaw avatar Feb 13 '15 06:02 nickclaw

I have this issue at the moment. Windows 7 - fresh copy of Atom.io 0.187.0

Will try this on the mac tomorrow and see if the same issue persists. I can edit the file just fine in atom so not sure why it would be a permission thing.

darrennolan avatar Mar 11 '15 12:03 darrennolan

I was getting Error loading gruntfile: EBADF Bad file descriptor because I did not have one of Grunt modules installed, npm install solved it.

Tony-Mc avatar Jun 30 '15 07:06 Tony-Mc

Any update on this one?

ealves-pt avatar Feb 10 '16 21:02 ealves-pt