Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DeprecationWarnings emitted during addon/node-api test compilation #38065

Open
mscdex opened this issue Apr 3, 2021 · 2 comments
Open

DeprecationWarnings emitted during addon/node-api test compilation #38065

mscdex opened this issue Apr 3, 2021 · 2 comments
Labels
build Issues and PRs related to build files or the CI. test Issues and PRs related to the tests.

Comments

@mscdex
Copy link
Contributor

mscdex commented Apr 3, 2021

I'm seeing a bunch of

[DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only.
(Use `node --trace-deprecation ...` to show where the warning was created)

while the addon/node-api tests compile (via make jstest). I even did a make distclean to verify this was not being caused by cached/outdated build artifacts/scripts.

@mscdex mscdex added build Issues and PRs related to build files or the CI. test Issues and PRs related to the tests. labels Apr 3, 2021
@cjihrig
Copy link
Contributor

cjihrig commented Apr 3, 2021

I think the issue is fixed by nodejs/node-gyp#2322, which was released in node-gyp v8.0.0 today.

@DeeDeeG
Copy link
Contributor

DeeDeeG commented Apr 11, 2021

I am still seeing the warning with node-gyp v8.0.0 and Node nightly v16, but I submitted a fix as a PR nodejs/node-gyp#2368.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issues and PRs related to build files or the CI. test Issues and PRs related to the tests.
Projects
None yet
Development

No branches or pull requests

3 participants