can this node-gyp warning be dealt with?
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 3.4k
- Forks
- 531
- Avg merge
- 21m
- Merged PRs (30d)
- 1
Description
I am using node 18.18.2 and yarn 3.2.4.
If I do:
- mkdir test
- cd test
- yarn init
- yarn add nan
I get the warning:
➤ YN0032: │ nan@npm:2.18.0: Implicit dependencies on node-gyp are discouraged
I aim for zero-warnings because unimportant warnings make it hard to notice important warnings.
Can this warning be dealt with?
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 warning with Node 18.18.2 and Yarn 3.2.4 using the mkdir, yarn init, and yarn add nan steps from the report. Inspect the package metadata and dependency handling involved in that installation; done means the nan install no longer emits the implicit node-gyp warning without introducing a replacement warning.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nodejs
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100