-
Notifications
You must be signed in to change notification settings - Fork 26
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
[node 20] Compilation error on nan #273
Comments
Thanks for flagging this. It's actually fixed on main, we just need a release. |
Thanks @aabmass , I saw it was released as |
Yes, I deprecated that one. IIRC it contained accidental breaking changes which should have been a major bump. I made a patch release instead to fix it |
hey @aabmass is there any update on this one? we are blocked on node 18 because of this, and the fix should be simple (unless I am missing something) - change nan from 2.14.0 to 2.17.0 |
@yosiat I'm working on a release right now. However, after checking what was published in pprof@3.2.1, I notice the version of nan has a carat dependency: Line 35 in d42aaa3
IOW, you should be able to install it in Node 20 today. You might have an older version of nan in your |
@aabmass I agree with you that carat should work here, but it doesn't work as expected in my project. It keeps installing nan |
@yosiat I'm guessing it was probably stale from either your |
Just published v4.0.0 |
Thanks a lot! |
Hi,
I am trying to upgrade to node 20 (from 16) and I see this compilation error:
This issue looks like it's fixed in nan 2.17.0 - https://github.com/nodejs/nan/blob/main/CHANGELOG.md#2170-oct-10-2022
Is it possible to upgrade this dependency?
The text was updated successfully, but these errors were encountered: