GithubHelp home page GithubHelp logo

Comments (20)

 avatar commented on July 3, 2024 1

Thanks @eseceve Worked for me too!

from atom-grunt-runner.

nickclaw avatar nickclaw commented on July 3, 2024

This typically means that grunt-runner can't require your Gruntfile. Make sure you're Gruntfile is in the project root, and that you have opened your project in Atom at it's root.

grunt-runner will look for it at atom.project.getPath() + "/gruntfile"

from atom-grunt-runner.

manifestinteractive avatar manifestinteractive commented on July 3, 2024

So is it a problem if the file is named "Gruntfile.js" ? I do have the project open in the root.

  • Peter

On May 12, 2014, at 1:06 PM, Nicholas Clawson [email protected] wrote:

This typically means that grunt-runner can't require your Gruntfile. Make sure you're Gruntfile is in the project root, and that you have opened your project in Atom at it's root.

grunt-runner will look for it at atom.project.getPath() + "/gruntfile"


Reply to this email directly or view it on GitHub.

from atom-grunt-runner.

nickclaw avatar nickclaw commented on July 3, 2024

It's worth a shot. It don't think it should matter if you're using Unix because I don't believe Unix is case sensitive. But try and let me know.

from atom-grunt-runner.

nickclaw avatar nickclaw commented on July 3, 2024

@manifestinteractive Were you able to resolve it? What was wrong?

from atom-grunt-runner.

faddah avatar faddah commented on July 3, 2024

i am seeing this also, just in starting up Atom 0.96.0 on Mac OS X 10.9.3 Mavericks. if you bring up the Developer Tools pane (cmd-alt.-i), you'll see this after launching Atom 0.96.0, even with no gruntfiles in a project being brought up —

grunt-runner: MODULE_NOT_FOUND                          grunt-runner-view.coffee:48

can anything be done about this? i was about to file a new issue when i saw this issue thread was all ready here. please advise.

best,

— faddah wolf
portland, oregon, u.s.a.
github.com/faddah

from atom-grunt-runner.

LukeMauldin avatar LukeMauldin commented on July 3, 2024

I am experiencing this same problem when opening a project without a grunt file.

from atom-grunt-runner.

nickclaw avatar nickclaw commented on July 3, 2024

That's intended. Just a little console.warn.

from atom-grunt-runner.

faddah avatar faddah commented on July 3, 2024

@nickclaw ,

thank you for the response. it may be "intended," but it's confusing to see this warning message. maybe in future a way to check if a project is meant to have a grunt file and, if not, do not display the warning? my suggestion.

best,

— faddah wolf
portland, oregon, u.s.a.
https://github.com/faddah

from atom-grunt-runner.

ArneNx avatar ArneNx commented on July 3, 2024

grunt-runner

I think I have the same problem as reported above. Is there any solution yet?

from atom-grunt-runner.

joseym avatar joseym commented on July 3, 2024

I was getting this error and was able to fix it by assigning my global grunt-cli in the settings for grunt-runner: /usr/local/lib/node_modules/grunt-cli.

Hope this also helps other.

from atom-grunt-runner.

polikin avatar polikin commented on July 3, 2024

Same error for me. MODULE_NOT_FOUND

from atom-grunt-runner.

eseceve avatar eseceve commented on July 3, 2024

I fixed this error using /usr/local/bin/ in Grunt Paths

Grunt Paths

PD: It doesn't works with open-last-project package. It must close and reopen the project.

from atom-grunt-runner.

bendkt avatar bendkt commented on July 3, 2024

After trying different configurations a re-install of the package did it.

from atom-grunt-runner.

OctoD avatar OctoD commented on July 3, 2024

This happens everytime I launch a new atom session. I fix by running the command: Incompatible Packages: Reload Atom and Recheck Packages.

from atom-grunt-runner.

cmerot avatar cmerot commented on July 3, 2024

I had to rename Gruntfile.js to gruntfile.js for this to work, otherwise MODULE_NOT_FOUND

from atom-grunt-runner.

runxc1 avatar runxc1 commented on July 3, 2024

So it appears that there are many ways to get this. For me I can only open the folder that contains the gruntfile.js, If I open a folder further up the tree I get this error.

from atom-grunt-runner.

tdolsen avatar tdolsen commented on July 3, 2024

I have the same issue, but it's apparent (in my case) that it only happens when I load a new folder while grunt-runner already has been loaded.

I.e. running atom from cli in a folder with a Gruntfile will work, but opening a blank Atom first, then changing the folder (to one that also have a Gruntfile) will not work. Doing View -> Reload will fix the issue.

It seems grunt-runner needs to reinitialize each time a new folder/project is loaded.

from atom-grunt-runner.

 avatar commented on July 3, 2024

Can confirm same step with @tdolsen to get this working. Ensuring a View -> Reload will make it work 100% of the time.

from atom-grunt-runner.

kokarn avatar kokarn commented on July 3, 2024

I think this is related to #91
Can people try to updated to the latest published version and try again?

from atom-grunt-runner.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.