pnpm install
pnpm run rebuild
You can see the button for opencv work well
pnpm start
opencv4nodejs.node
will be copied to the.webpack/main/native_modules/build/Release
directory.
You can open app and run success
pnpm package
share my app to others
It can only work on my local machine, which is the machine used for packaging. If you try to open it using other shared apps, it will generate an error.