basecamp / pow

Zero-configuration Rack server for Mac OS X
http://pow.cx/
MIT License
3.41k stars 258 forks source link

Problems with node 5.0.0 #516

Open ream88 opened 8 years ago

ream88 commented 8 years ago

After updating to the latest node version, starting pow results in following error:

Nov  6 10:35:59 Grisu com.apple.xpc.launchd[1] (cx.pow.powd[24552]): Could not find and/or execute program specified by service: 2: No such file or directory: /usr/local/Cellar/node/4.1.1/bin/node
Nov  6 10:35:59 Grisu com.apple.xpc.launchd[1] (cx.pow.powd[24552]): Service setup event to handle failure and will not launch until it fires.

Fixed it manually and really dirty for now:

mkdir -p /usr/local/Cellar/node/4.1.1/bin/
ln -s $(brew --prefix node4-lts)/bin/node node
rxgx commented 8 years ago

The paths seem to show that your machine is looking for node v4.1.1 instead of v5. Have you tried to use NVM instead of Brew to manage multiple installations of NodeJS?

ream88 commented 8 years ago

Yes, how do I tell pow to use the node version provided by nvm?

gustaflindqvist commented 8 years ago

@haihappen you might use .powrc to choose right version?