GithubHelp home page GithubHelp logo

Comments (14)

sindresorhus avatar sindresorhus commented on July 28, 2024

Because of a bug in node-webkit I had to hard code the location of the Node binary. Do you mind running which node and paste the output?

from gulp-app.

danielhusar avatar danielhusar commented on July 28, 2024

/usr/local/bin/node

from gulp-app.

fritx avatar fritx commented on July 28, 2024

I had to hard code the location of the Node binary.

Is it possible to create an npm pkg for looking up node?

from gulp-app.

sindresorhus avatar sindresorhus commented on July 28, 2024

I added some debugging. Mind trying it out? https://github.com/sindresorhus/gulp-app/releases

It opens dev tools on startup. Go to the "Console" tab a paste the output here.

from gulp-app.

sindresorhus avatar sindresorhus commented on July 28, 2024

Is it possible to create an npm pkg for looking up node?

I dunno. There's just so many places the Node binary could be, but on OS X it's almost always in /usr/local/bin so I'd rather wait it out: nwjs/nw.js#213 (please 👍 on that ticket).

from gulp-app.

danielhusar avatar danielhusar commented on July 28, 2024

Hi,

no problem.
It logs this error:

Error {stack: "Error: libsass bindings not found. Try reinstall…s:3:13)↵ at Module._compile (module.js:452:26)", message: "libsass bindings not found. Try reinstalling node-sass?"}

This is the gulpfile: https://github.com/danielhusar/danielhusar.sk

from gulp-app.

sindresorhus avatar sindresorhus commented on July 28, 2024

@danielhusar weird, I'm just spawning your node binary, so should be the same as running gulp. I assume running gulp works fine?

Can you try running /usr/local/bin/node './node_modules/gulp/bin/gulp.js' in the same folder as your gulpfile?

from gulp-app.

addyosmani avatar addyosmani commented on July 28, 2024

Running into the same issues as the above using the same node path. Screenshot of debug output:

screen shot 2014-05-17 at 15 33 48

Some UX feedback: I think it would make sense to allow the user to choose the folder they would like to target for use with the app (e.g only allow the folder to be selected if a gulpfile is present). I usually have multiple windows open during development and had to cycle back closing them to ensure there wasn't more than one with a gulpfile in there.

from gulp-app.

danielhusar avatar danielhusar commented on July 28, 2024

Hi,

yep running gulp works fine, even running /usr/local/bin/node './node_modules/gulp/bin/gulp.js' works fine.

I will later try also on my other machine.

Thanks a lot for your help.

from gulp-app.

sindresorhus avatar sindresorhus commented on July 28, 2024

Should be fixed now.

Try out the latest binary: https://github.com/sindresorhus/gulp-app/releases/tag/0.0.3

from gulp-app.

danielhusar avatar danielhusar commented on July 28, 2024

Yep its working, thanks a lot, great app. :)

from gulp-app.

cognitom avatar cognitom commented on July 28, 2024

@sindresorhus Great!

I'm still looking for another solution, because I'm a nodebrew user ><

FYI, atom-shell have same issue related to this.

Actually, the command below works fine (spawning from user's terminal), although this is NOT a solution...

$ open /Applications/gulp.app

from gulp-app.

sindresorhus avatar sindresorhus commented on July 28, 2024

@cognitom yeah, i'm aware. It's a general problem with OS X GUI apps...

I've worked around it for the default node path. I would be happy to accept a PR adding the homebrew path too ;)

See: 8ae786f#diff-3c56f1dfc265d93d754c52ea6397c36aR17

from gulp-app.

cognitom avatar cognitom commented on July 28, 2024

OK! I'll try it later. Thanks ;-)

from gulp-app.

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.