Giter Club home page Giter Club logo

Comments (13)

nickclaw avatar nickclaw commented on June 27, 2024

Which version are you running? Are there any errors shown in the console?

from atom-grunt-runner.

eighteyes avatar eighteyes commented on June 27, 2024

0.5.1

Uncaught Error: spawn ENOENT events.js:82
exports._errnoException util.js:682
ChildProcess._handle.onexit child_process.js:857
(anonymous function) child_process.js:1005
_tickCallback

I tried setting the path, alas.

from atom-grunt-runner.

nickclaw avatar nickclaw commented on June 27, 2024

Make sure you have grunt-cli installed globally. Then run which grunt in the command line and use whatever it outputs as the path. For example my output is /Users/nickclaw/local/bin/grunt so I would put /Users/nickclaw/local/bin in the path settings.

from atom-grunt-runner.

creynders avatar creynders commented on June 27, 2024

I'm running v0.5.1 too and have the same error thrown in the console. When I set the path to my global grunt binary /usr/local/bin/grunt I get the error 'could not find grunt command' in the grunt-runner log pane.

from atom-grunt-runner.

creynders avatar creynders commented on June 27, 2024

Ah, just saw the solution in #3: drop grunt from the path setting.

from atom-grunt-runner.

alexlafroscia avatar alexlafroscia commented on June 27, 2024

I had this same problem, for the same reason. It would be nice if it detected grunt at the end of the path and knew what it meant.

from atom-grunt-runner.

JakeHP avatar JakeHP commented on June 27, 2024

+1 @alexlafroscia. I also had this issue.

from atom-grunt-runner.

visualcookie avatar visualcookie commented on June 27, 2024

Did try your solutions... didn't worked out. Still get the same error.

from atom-grunt-runner.

tusbar avatar tusbar commented on June 27, 2024

Same here, grunt is installed in ~/.nvm/versions/node/v0.12.2/bin

Specifying ~/.nvm/versions/node/v0.12.2/bin or /Users/username/.nvm/versions/node/v0.12.2/bin in the PATH settings still doesn't allow grunt-runner to find grunt.

from atom-grunt-runner.

hamishtaplin avatar hamishtaplin commented on June 27, 2024

Same here. Grunt is installed /usr/local/bin/ but this no worky.

from atom-grunt-runner.

kokarn avatar kokarn commented on June 27, 2024

Are you getting some error or are devtools opening?

Recently I had the problem with Atom having different paths depending on how you open it.

There is a big thread about that over here steelbrain/linter#150 but the solution for me and some others was to add all the paths from $PATH to init.coffee.

This is now my init.coffee

# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to make opened Markdown files always be soft wrapped:
#
# path = require 'path'
#
# atom.workspaceView.eachEditorView (editorView) ->
#   editor = editorView.getEditor()
#   if path.extname(editor.getPath()) is '.md'
#     editor.setSoftWrap(true)

process.env.PATH = [
        '/usr/local/bin',
        '/usr/bin'
        '/bin',
        '/usr/sbin',
        '/sbin'
    ].join( ':' );

from atom-grunt-runner.

hamishtaplin avatar hamishtaplin commented on June 27, 2024

@kokarn Running Atom via the command line does indeed fix the problem.

from atom-grunt-runner.

miketierney avatar miketierney commented on June 27, 2024

I'll pitch in that @kokarn's workaround fixed it for me (so far only tested after launching via the command line). Edit: I've launched both via the command line and by opening Atom directly and have had no issues.

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.