Closed KaminoRyo closed 9 months ago
After considering various options, for now, I am addressing the issue by forcibly overriding the version of fswin
used by the winattr
module using npm-force-resolutions
. The errors have disappeared, and it seems that the build is successful. However, as I haven't conducted rigorous testing, I will report any issues if they arise.
I have an Electron app using the
hidefile
module. However, when I upgrade the Node.js version, the build breaks.Upon examining the logs, I found that there was a change on the Node.js side due to issues with the OpenSSL module.
hidefile
module (not updated for over 5 years) depends onwinattr
(not updated for over 5 years).winattr
module depends on thenode-fswin
module (namedfswin
on npm).node-fswin
module is currently updated, but it has not been reflected in thewinattr
module.A quick solution would be to configure it to use an older OpenSSL provider, but it's a bad approach considering future updates. What would be the best practice for handling this situation? It might be beneficial to find an alternative for
winattr
and fork it, or find a replacement for thehidefile
module.