You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have never used yarn, but to me it seems the warning comes from yarn and not from node-gyp. According to the [yarn documentation](https://yarnpkg.com/configuration/yarnrc#logFilters), you can set a logFilter in .yarnrc to suppress it.
On November 13, 2023 6:21:08 PM GMT+02:00, Eric ***@***.***> wrote:
I am using node 18.18.2 and yarn 3.2.4.
If I do:
1. mkdir test
2. cd test
3. yarn init
4. yarn add nan
I get the warning:
```
➤ YN0032: │ ***@***.***: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?
Ok. Still seems like it is a good recommendation. You may want to reconsider the implicit dependency. Feel free to close this issue if you know otherwise or keep it open as a reminder to investigate further.
On November 13, 2023 9:44:08 PM GMT+02:00, Eric ***@***.***> wrote:
Ok. Still seems like it is a good recommendation. You may want to reconsider the implicit dependency. Feel free to close this issue if you know otherwise or keep it open as a reminder to investigate further.
Activity
kkoopa commentedon Nov 13, 2023
eric-g-97477 commentedon Nov 13, 2023
Ok. Still seems like it is a good recommendation. You may want to reconsider the implicit dependency. Feel free to close this issue if you know otherwise or keep it open as a reminder to investigate further.
kkoopa commentedon Nov 13, 2023
cclauss commentedon Feb 8, 2025
Yes, but locking the version of
node-gypcurrently causes runtime failures on Python >= v3.12.