kokarn / atom-grunt-runner

Run Grunt tasks from Atom.
MIT License
31 stars 23 forks source link

Error loading gruntfile: EBADF #32

Open Noah-Huppert opened 9 years ago

Noah-Huppert commented 9 years ago

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

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

nickclaw commented 9 years ago

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?

darrennolan commented 9 years ago

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.

Tony-Mc commented 9 years ago

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

ealves-pt commented 8 years ago

Any update on this one?