fix(docs): README package examples contain an error payload
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 87/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- markdown, python
- Domain
- documentation
Research direction
Open README.md at the Usage example around line 29 and the npm Installation examples around lines 52–53. Replace the error payloads in all three package argument positions with usable package examples or clearly marked placeholders. Done when those examples no longer show an error payload as a package name.
Written by the indexing model from the issue text.
Description
Summary
Three installation examples contain {"ok":false,"error":"No data returned"} where a package argument belongs, leaving readers without a usable example package.
Runtime or environment
Current main README; latest published release: v1.16.0. This is a README content defect, independent of operating system, Node.js or npm version. No package installation was executed.
Steps to reproduce
Read the Usage example at line 29 and the npm Installation examples at lines 52–53 in the linked README.
Expected behavior
The examples supply package names or clearly marked package placeholders.
Actual behavior
The README contains these commands (the npm command appears twice):
sfw npm install --save {"ok":false,"error":"No data returned"}
sfw pip install {"ok":false,"error":"No data returned"}
Evidence
- Expected source: README Usage introduces these as supported package-manager commands; npm Installation introduces them as usage after installation.
- Failure source: The linked README, lines 29 and 52–53, contains the quoted payload verbatim.
- Evidence provenance: observed
- Local verification: reproduced
- Reproduction completeness: complete
Restoration check
Those three package-argument positions contain usable package examples or clear placeholders, with no error payload presented as a package name.
Triage assessment
- Impact level: P2
- Assessment status: supported
- Impact basis: The affected introductory examples provide an error response instead of the package argument readers need to use them.
- Workaround status: available
- Workaround basis: Readers can supply their intended package name; the same README also contains unaffected examples using requests and flask.
- Dominant language
- No language data
- Stars
- 271
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
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.
More from SocketDev/sfw-free
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
False positive?Open
Difficulty 3/5 1-2 days Newbie friendliness 42/100
All issues in SocketDev/sfw-free
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Bundles Documentation
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
pyrevitlabs/pyRevit#4285 ·
Maintainers usually reply within 1 day
-
documentation
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
frostney/pascal-mcp-sdk#122 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 76/100
quii/learn-go-with-tests#934 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 3 days