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

Deploy a symbolic link target #164

Closed
jokin opened this issue May 31, 2016 · 3 comments
Closed

Deploy a symbolic link target #164

jokin opened this issue May 31, 2016 · 3 comments

Comments

@jokin
Copy link

jokin commented May 31, 2016

currently, if I create a symbolic link to my build directory, "firebase deploy" does not found the directory.
Error: Specified public directory does not exist, can't deploy hosting

But if I launch the site with "firebase serve" it actually works fine.

Thanks

@cbraynor
Copy link
Contributor

The error deploying was reported in #22 and is specifically an issue with our fstream dependency. Until that issue is resolved, there's not much we can do. I don't think it makes sense to prohibit firebase serve from working if you're using symbolic links, and that's the only thing I can think that would make the behavior consistent.

@gilbert
Copy link

gilbert commented Feb 19, 2020

The fix PR has been sitting for 6 years. Surely you can fork fstream to resolve the issue?

@bkendall
Copy link
Contributor

We're not going to be forking fstream.

I was able to make a symlink to my public directory (symlink -> public) and change my firebase.json directory to be symlink and deploy successfully. If you're having trouble with this @gilbert , could you open a new issue with reproduction steps so we can take a closer look? Thanks.

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

4 participants