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

Serve 11 cannot set symlinks to true in config.json #519

Closed
AaronFriel opened this issue Apr 4, 2019 · 7 comments · Fixed by #803
Closed

Serve 11 cannot set symlinks to true in config.json #519

AaronFriel opened this issue Apr 4, 2019 · 7 comments · Fixed by #803

Comments

@AaronFriel
Copy link

serve@^11 currently errors out when setting symlinks: true:

root@c3ee02fdad56:/app# serve --version
11.0.0
root@c3ee02fdad56:/app# serve -p 8000 -c ./serve.json
INFO: Discovered configuration in `./serve.json`
ERROR: The configuration you provided is wrong:
should NOT have additional properties
{"additionalProperty":"symlinks"}
@joeldenning
Copy link

I am also experiencing this issue.

@joeldenning
Copy link

I created a PR that will fix this. vercel/schemas#53

@trusktr
Copy link

trusktr commented Aug 27, 2021

This tiny fix is still not merged? Seriously?

Vercel documentation is broken and no one at Vercel cares?

@joeldenning
Copy link

I don't represent vercel but do not think it's helpful to express anger or sarcasm over this. This is an open source project and the maintainers of it owe us nothing.

@warren-bank
Copy link

shameless self-promotion alert:
this feature is fixed in my @warren-bank/serve fork of serve

@steve-taylor
Copy link

Symlinks don't work at all, even when specified from the command line.

Both of these fail to serve symlinks:

serve --symlinks
serve -S

@thedapperdev
Copy link

any news on this please? @leo

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

Successfully merging a pull request may close this issue.

6 participants