serve icon indicating copy to clipboard operation
serve copied to clipboard

Symlinks option is rejected when included in "serve.json"

Open alexjeffburke opened this issue 4 years ago • 3 comments
trafficstars

Hi,

From what I can tell, the @zeit/schemas/deployment/config-static is being used as the validation schema for serve but this does not list symlinks as a supported option resulting in the following error output to the command line:

INFO: Discovered configuration in `serve.json`
ERROR: The configuration you provided is wrong:
should NOT have additional properties
{"additionalProperty":"symlinks"}

Thanks.

alexjeffburke avatar Nov 30 '20 20:11 alexjeffburke

FYI. You can use the command line option --symlinks as a work around.

ChristopherBaldwin avatar Jan 16 '21 19:01 ChristopherBaldwin

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

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

FYI. You can use the command line option --symlinks as a work around.

Sure you can, but serve will completely ignore it and not follow symlinks.

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