Comments (14)
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.
/usr/local/bin/node
from gulp-app.
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.
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.
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.
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.
@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.
Running into the same issues as the above using the same node path. Screenshot of debug output:
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.
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.
Should be fixed now.
Try out the latest binary: https://github.com/sindresorhus/gulp-app/releases/tag/0.0.3
from gulp-app.
Yep its working, thanks a lot, great app. :)
from gulp-app.
@sindresorhus Great!
I'm still looking for another solution, because I'm a nodebrew user ><
FYI, atom-shell have same issue related to this.
- atom-community/atom-script#61
- http://stackoverflow.com/questions/135688/setting-environment-variables-in-os-x
Actually, the command below works fine (spawning from user's terminal), although this is NOT a solution...
$ open /Applications/gulp.app
from gulp-app.
@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.
OK! I'll try it later. Thanks ;-)
from gulp-app.
Related Issues (20)
- Only switch to a new project if it has a gulpfile
- Couldn't find package.json HOT 2
- Lock to the current folder HOT 2
- Run `npm install` for the user HOT 7
- "Recent Projects" menu HOT 3
- Global hotkey to run the default task HOT 3
- Doesn't detect gulpfile in open folder HOT 4
- Enhancement proposal HOT 15
- [OS X] Double-click the icon to run the `default` task HOT 1
- nvm support HOT 1
- Auto-updater HOT 1
- readme tweaks for "electron" (was "atom-shell") HOT 1
- Gulp sub task names are truncated HOT 3
- Applescript editor opens after each task HOT 3
- A Javascript error occured in the browser process HOT 3
- Windows support HOT 3
- Use HTML5 Notification instead of the `display-notification` module HOT 6
- Reset the tray when there is no gulpfile HOT 2
- change build script HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gulp-app.