Giter VIP home page Giter VIP logo

Comments (8)

typicode avatar typicode commented on June 15, 2024

It may be a PATH problem.

Are you using something like nvm?
What do you get when you run which node?

from katon.

jasonkarns avatar jasonkarns commented on June 15, 2024

Not using nvm (or anything similar).

Node installed via homebrew.

$ which node
/usr/local/bin/node
$ which lineman
/usr/local/share/npm/bin/lineman

from katon.

typicode avatar typicode commented on June 15, 2024

Just did a fresh node install on OS X Mavericks using brew and installed globally both katon and lineman using $ npm install -g

After that I created a lineman project:

$ lineman new test
$ cd test
$ katon link
$ tail -f katon.log
Running "pages:dev" (pages) task
generated/index.html generated from app/pages/index.us

Running "dev" task
...

But lineman wasn't installed in the same path:

$ which node
/usr/local/bin/node
$ which lineman
/usr/local/bin/lineman

So that may be the cause of the execvp() error.

from katon.

typicode avatar typicode commented on June 15, 2024

Did it help?

from katon.

jasonkarns avatar jasonkarns commented on June 15, 2024

I created a symlink into /usr/local/bin and that at least got the app running. (Now there are other problems, but that's separate.)

So the concern now is, why is katon not respecting my $PATH? /usr/local/share/npm had been npm's original prefix for quite a long time. It has only recently changed (I believe it was changed when npm started coming bundled with node). However, the current brew formula for node still uses /usr/local/share/npm if the directory exists. It only switches to /usr/local for completely fresh installs that don't already have that directory. And any node/npm installation that was installed prior to npm being bundled with node will have such a directory. (the brew caveats for node explicitly stated that /usr/local/share/npm ought to be added to $PATH)

from katon.

queso avatar queso commented on June 15, 2024

I am also having $PATH issues here...

from katon.

queso avatar queso commented on June 15, 2024

So I did a brew update and then upgrading node/npm to the latest and installed the globals I needed to easily get past this for good.

Also, once execvp(): No such file or directory is thrown, it seems I have to kill -9 the katon process to get it to try and start up the app again.

from katon.

typicode avatar typicode commented on June 15, 2024

0.5.x fixes this kind of problem, closing the issue.

from katon.

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.