root@7a97f621b985:/solid#
root@7a97f621b985:/solid#
root@7a97f621b985:/solid# /usr/local/bin/solid start --no-webid
error: unknown option `--no-webid'
root@7a97f621b985:/solid# /usr/local/bin/solid start --help
Usage: start [options]
run the Solid server
Options:
-h, --help output usage information
--root [value] Root folder to serve (defaut: './')
--port [value] SSL port to use
--webid Enable WebID+TLS authentication (use `--no-webid` for HTTP instead of HTTPS)
--auth [value] Pick an authentication strategy for WebID: `tls` or `oidc`
I found this problem too. The command line parsing seems to have rotted a bit. You can put "webid": false, in the config.json file.
I think the line is here:
https://github.com/solid/node-solid-server/blob/master/bin/lib/options.js#L26
Resolution is to remove the text (use--no-webidfor HTTP instead of HTTPS) and write something more helpful
{
name: 'webid',
help: 'Enable WebID+TLS authentication (use `--no-webid` for HTTP instead of HTTPS)',
flag: true,
question: 'Enable WebID authentication',
prompt: true
}
This should be fixed in the latest commit. Closing.
I have this issue with the version I installed today via npm, I don't have any certificates installed or even a config.json file, but I guess that should not be a problem?
crt@aaa:~$ solid start --no-webid
error: unknown option `--no-webid'
Also (maybe this should be another issue?) I tried to get a version number with solid --version, but there is no output (or maybe the output is an empty line or sth like that).
Hmmm, indeed.
AFAICS, there hasn't been any changes in that since the dawn of ages:
https://github.com/solid/node-solid-server/blame/master/bin/lib/start.js#L71
But I don't know the entire history here, so I'll reopen in case someone who does can comment.
Looks like as a commandline switch this was never implemented, even if the readme does mention it. There is a webid: false config option, so we should check if that one works correctly.
Most helpful comment
Hmmm, indeed.
AFAICS, there hasn't been any changes in that since the dawn of ages:
https://github.com/solid/node-solid-server/blame/master/bin/lib/start.js#L71
But I don't know the entire history here, so I'll reopen in case someone who does can comment.