Multiple (node:17870) [DEP0174] DeprecationWarning: Calling promisify on a function that returns a Promise is likely a mistake.
#1715
Labels
Pre-flight checklist
Electron Forge version
7.4.0
Electron version
v30.0.1
Operating system
macOS 14.4.1 (darwin/arm64)
Last known working Electron Forge version
No response
Expected behavior
No deprecation warning when running
package
ormake
scripts.Actual behavior
Multiple
(node:17870) [DEP0174] DeprecationWarning: Calling promisify on a function that returns a Promise is likely a mistake.
warnings in console.For macOS universal builds, I have to use a
packageAfterExtract
hook to delete a file in macOS application package. For macOS/Windows builds, I am also having to run apostPackage
hook modify the package slightly to add a file and for code signing / notarization. With or without these hooks added, I keep getting those warnings multiple times while runningpackage
ormake
scripts, even on a cleannpm create electron-app
output. I addedNODE_OPTIONS=--trace-deprecation
to get more information regarding this and all of it seems to be caused bypromisifyHooks
.Console output with warnings
Steps to reproduce
Additional information
I am using the following forge configuration currently when I get these deprecation warnings.
https://github.com/eXhumer/eXViewer/blob/6cb73d39972add0aff25580b3abf307f3f757979/forge.config.ts
The text was updated successfully, but these errors were encountered: