nodeSolidServer / nodeSolidServer/node-solid-server

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

未關閉
#1,448 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

主要語言
JavaScript
星號
1.8k
分支
308
PR 合併指標
30 天內沒有已合併 PR

描述

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.

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

從 issue 引用的 bin/solid-test 中的 solid-test 入口點開始,並檢查其 shell 需求。在官方 nodesolidserver/node-solid-server 映像中執行它;當 command 能夠在其中執行而不需要不可用的 bash 執行檔,且其現有行為獲得保留時,即完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
bash, shell
領域
cli
Issue 類型
缺陷
難度
2/5
預估耗時
1-3 小時
活躍度
停滯
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。