serve icon indicating copy to clipboard operation
serve copied to clipboard

Serve 11 cannot set symlinks to true in config.json

Open AaronFriel opened this issue 6 years ago • 7 comments

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"}

AaronFriel avatar Apr 04 '19 20:04 AaronFriel

I am also experiencing this issue.

internettrans avatar Jun 29 '19 14:06 internettrans

I created a PR that will fix this. https://github.com/zeit/schemas/pull/53

internettrans avatar Jun 29 '19 14:06 internettrans

This tiny fix is still not merged? Seriously?

Vercel documentation is broken and no one at Vercel cares?

trusktr avatar Aug 27 '21 22:08 trusktr

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.

internettrans avatar Aug 28 '21 16:08 internettrans

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

warren-bank avatar Feb 16 '22 09:02 warren-bank

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

Both of these fail to serve symlinks:

serve --symlinks
serve -S

steve-taylor avatar Apr 12 '22 06:04 steve-taylor

any news on this please? @leo

thedapperdev avatar Jul 04 '22 06:07 thedapperdev