Using github urls for testing a module from github errors
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 606
- Forks
- 157
- Avg merge
- 3d 23h
- Merged PRs (30d)
- 3
Description
- Node Version: >= 16
- CitGM Version: 8.1.3
- Platform: fedora Linux 6.1.8-100.fc36.x86_64
CITGM errors on node >= 16 when using github urls such as the npx citgm https://github.com/caolan/async/archive/HEAD.tar.gz ( copied from the example https://github.com/nodejs/citgm#notes )
Error: sh: line 1: citgm: command not found
This happens due to, npm view does not work for node >= 16
https://github.com/nodejs/citgm/blob/eef07d5e333a0eee87ec63aac57c5c5ae66bbbba/lib/grab-module-data.js#L14-L18
Contributor 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.
Research direction
Reproduce the failure with npx citgm https://github.com/caolan/async/archive/HEAD.tar.gz on Node >=16, then inspect lib/grab-module-data.js lines 14-18 and the npm view path. Done means the GitHub URL can be tested without the citgm: command not found error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- cli, testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100