Errors installing Pow server on OS X

1k Views Asked by At

When attempting to install the Pow server on my mac, everything appears to be going well. I run curl get.pow.cx | sh and receive confirmation that the package was installed correctly. However, when I cd ~/.pow and create the necessary symlink: ln -s /path/to/myapp I receive the following error: ln: ./myapp: File exists Upon navigating to http://myapp.dev I receive the standard Application not found error

Troubleshooting steps taken:

Uninstalled pow: curl get.pow.cx/uninstall.sh | sh

Removed the pow folder: rm -Rf ~/.pow

Removed the link: rm -Rf ~/.myapp

Restarted mac

Reinstalled Pow

Still no luck. Any suggestions?

2

There are 2 best solutions below

2
On BEST ANSWER

If ln says the file exists, the symlink may already be there?

Once pow is installed, this is what I do:

  1. Go to the pow dir: cd ~/.pow
  2. Create a symlink to my app's directory: ln -s ~/dev/myapp myapp
    1. Additionally, the ~/dev/myapp folder has a "public" directory inside of it. It's required.
  3. Browse to http://myapp.dev

Maybe be explicit with your symlink name, as I was in #2?

0
On

Got this running by first uninstalling Pow: curl get.pow.cx/uninstall.sh | sh

Then reinstalling: curl get.pow.cx | sh

Going to the Pow directory: cd ~/.pow

Issuing the following command: rm ./myapp

Recreating the symlink: ln -s /path/to/maypp