The binary distribution has hardcoded paths
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 114
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
The binary distribution has hardcoded paths at some point (I didn't investigate). It results in errors like:
```
Fatal error: exception Failure("Unable to copy ./../../../static/block-script.js to /Users/wczekalski/Documents/Work/Projects/bs-react-native/docs/block-script.js")
Raised at file "pervasives.ml", line 30, characters 22-33
Called from file "/Users/jared/clone/tools/docre/src/ModelToOutput.re", line 242, characters 4-92
Called from file "/Users/jared/clone/tools/docre/src/utils/Infix.re", line 10, characters 68-73
Called from file "/Users/jared/clone/tools/docre/src/ModelToOutput.re", line 241, characters 40-670
Called from file "/Users/jared/clone/tools/docre/src/Main.re", line 112, characters 9-15
```
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
Start in tools/docre/src/ModelToOutput.re around the reported line 242, then trace the calls from tools/docre/src/utils/Infix.re and tools/docre/src/Main.re. Reproduce the binary distribution error and identify where the hardcoded path enters the copy operation. Done means the distribution no longer reports the reporter's machine-specific path when copying static/block-script.js.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ocaml
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100