在做一个项目。为node构建了C++模块,并用cmake进行了编译。我试着在我的主要电子应用程序中使用该模块,但它出错。 在这里用最小的repo重现了它:https://github.com/Aerrus/electronMinimal App threw an error during load at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:160:31)
at Object.Module._extensio