Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make command failing on Linux #89

Open
travis-g opened this issue Jun 3, 2014 · 2 comments
Open

make command failing on Linux #89

travis-g opened this issue Jun 3, 2014 · 2 comments

Comments

@travis-g
Copy link

travis-g commented Jun 3, 2014

Running make on Linux results in the following:

rm: cannot remove ‘/tmp/slate.nw’: Operation not permitted
Makefile:7: recipe for target 'run' failed
make: *** [run] Error 1

..and sudo make results in:

zip -rq /tmp/slate.nw *
`which nw` /tmp/slate.nw
which: no nw in ($PATH)
/bin/sh: /tmp/slate.nw: Permission denied
Makefile:7: recipe for target 'run' failed
make: *** [run] Error 126

Error was brought up in issue #73 after it was closed, but seemingly wasn't fixed.

@juliangruber
Copy link

the node-webkit exectuable isn't in your $PATH

@fearphage
Copy link

Two problems actually.

You ran make as sudo so now /tmp/slate.nw is owned by root.

$ sudo rm /tmp/slate.nw
$ which nw

which nw should return a path.

Check this out https://www.exponential.io/blog/install-node-webkit-on-ubuntu-linux

Alternatively you could run this command from the slate directory (where the package.json is):

$ /path/to/node-webkit/nw .

This could use some documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants