mafintosh / mafintosh/hypercored
Failed when run it in windows running environment
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 53
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Description
not found command [dirname] in windows powershell
node_modules\.bin\hypercored:2
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
^^^^^^^
SyntaxError: missing ) after argument list
at Object.compileFunction (node:vm:352:18)
at wrapSafe (node:internal/modules/cjs/loader:1033:15)
at Module._compile (node:internal/modules/cjs/loader:1069:27)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
at node:internal/main/run_main_module:17:47
PS S:\> dirname
+ dirname
+ ~~~~~~~
+ CategoryInfo : ObjectNotFound: (dirname:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure in Windows PowerShell using the generated node_modules\\.bin\\hypercored entry point shown in the report. Inspect how this executable is produced and compare its shell syntax with the Windows environment; done means the hypercored command starts without the dirname or JavaScript syntax error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100