nodeSolidServer / nodeSolidServer/node-solid-server

solid-test script uses bash and doesn't work in official docker image

Open
#1,448 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.8k
Forks
308
PR merge metrics
No merged PRs in 30d

Description

The solid-test script has #!/usr/bin/env bash for a shebang. However, the docker image provided at nodesolidserver/node-solid-server only comes with sh, not bash.

This means that if you try and run solid-test using the docker image, you get:

/opt/solid $ /usr/local/lib/node_modules/solid-server/bin/solid-test
env: can't execute 'bash': No such file or directory

It seems that this script is so simple that it should be possible to just use sh, at least on linux. I don't know if sh on macos is now zsh, or a borne compatible shell.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the solid-test entry point at bin/solid-test, referenced by the issue, and inspect its shell requirements. Run it in the official nodesolidserver/node-solid-server image; done when the command runs there without requiring an unavailable bash executable and its existing behavior is preserved.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash, shell
Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.