nodeSolidServer / nodeSolidServer/node-solid-server

Solid-test lacks an alternative on Windows.

未關閉
#856 7 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

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

描述

I am try to run the solid server as a developer without formal CA. So I followed the Readme and tried to replace the std solid from "solid.cmd" to solid-test

"%~dp0\node.exe" "%~dp0\node_modules\solid-server\bin\solid" %*
"%~dp0\node.exe" "%~dp0\node_modules\solid-server\bin\solid-test" %*

But when I try to run solid,(I believe it should be running this solid.cmd) it will crash with below outputs:
$ solid
C:\Users\Jomu_\AppData\Roaming\npm\node_modules\solid-server\bin\solid-test:6

Disable rejectUnauthorized when starting the server

^

SyntaxError: Invalid or unexpected token
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:617:28)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Function.Module.runMain (module.js:694:10)
at startup (bootstrap_node.js:204:16)
at bootstrap_node.js:625:3

I am using the master branch, please suggest me what should I check, thanks.

貢獻指南

開啟貢獻指南

從這裡開始

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

研究方向

閱讀 README 中的說明,然後使用報告中提到的 solid.cmd 和 bin/solid-test 進入點重現 Windows 失敗。比較這兩個 launcher 在 Windows 上的呼叫方式,並驗證 solid command 能在沒有所回報的語法錯誤的情況下啟動,同時提供 no-formal-CA 開發行為。

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

評估

技術堆疊
javascript, node.js
領域
backend, cli
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
39/100

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

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