Public URL: invalid project directory provided
enn-nafnlaus opened this issue · 3 comments
enn-nafnlaus commented
I can run the app fine locally (after some messing around!), but not on a public URL. If I specify a URL, I get the following error:
_[riffusion-app]$ npm run dev --hostname MY.IP.ADDRESS.HERE
riffusion@0.1.0 dev
next dev MY.IP.ADDRESS.HERE
error - Invalid project directory provided, no such directory: /path/to/riffusion-app/MY.IP.ADDRESS.HERE_
Rather weird - it wants a directory with the name of my IP address? Containing what?
hmartiro commented
This seems like a general npm / nextjs question. I would typically set up port forwarding or use a proxy like nginx.
enn-nafnlaus commented
Okay, so why do you have the option if it's not going to work? It's only going to confuse people.
hmartiro commented
It's not our option, it's built in