While developing native addon that is also a part of the electron application, node-gyp rebuild will remove all build resources inside /build directory, which is causing build process to fail because build\notarize.js module was missing.
Most of the time, /build directory is a directory associated with build-time temporary files, it is better to choose another name for the buildResources directory.
Describe the bug
While developing native addon that is also a part of the electron application,
node-gyp rebuild
will remove all build resources inside/build
directory, which is causing build process to fail becausebuild\notarize.js
module was missing.Most of the time,
/build
directory is a directory associated with build-time temporary files, it is better to choose another name for the buildResources directory.Used Scaffolding
create-electron
Used Package Manager
pnpm
Validations