node.h:107 now includes util-inl.h. That file is not shipped by node-gyp though.
12.2 did not include this file.
I thought it had previously been indirectly included into our API, so added it in https://github.com/nodejs/node/pull/27631 when it was removed from other core headers. I was mistaken, sorry.
Why is this closed? I encountered the same bug when trying to install node-gyp. I am using the latest node version 12.3.0
err.txt
In file included from ../../nan/nan.h:51:0,
from ../src/node-boilerplate/scrypt_common.cc:28:
/root/.node-gyp/12.3.0/include/node/node.h:107:24: fatal error: util-inl.h: No such file or directory
compilation terminated.
Me too. Trying with "npm install" I get this error.
This issue is closed because the bug has been fixed on master. The fix will go out in a release later today. Please follow along with the release at https://github.com/nodejs/node/pull/27814. Sorry for any confusion.
Most helpful comment
This issue is closed because the bug has been fixed on master. The fix will go out in a release later today. Please follow along with the release at https://github.com/nodejs/node/pull/27814. Sorry for any confusion.