关于 electron 打包的时候 出现 npm ERR! gyp: name 'openssl_fips' is not defined while evaluating condition ...

关于 打包 electron 出现 x下面这个问题
npm ERR! gyp: name 'openssl_fips' is not defined while evaluating condition 'openssl_fips != ""' in binding.gyp while trying to load binding.gyp npm ERR! gyp ERR! configure error
问题原理不知道 但是 呢 在打包命了加上这个 npm run build --openssl_fips='' 就成了
如果解决了你的问题 记得给我点赞

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容