level 1
重回20岁🌱
楼主
> electron-builder --win --x64
• electron-builder version=22.14.13 os=10.0.19042
• loaded configuration file=package.json ("build" field)
• loaded parent configuration preset=react-cra
• description is missed in the package.json appPackageFile=D:\cfgtool-master_new\package.json
• author is missed in the package.json appPackageFile=D:\cfgtool-master_new\package.json
• electron-rebuild not required if you use electron-builder, please consider to remove excess dependency from devDependencies
To ensure your native dependencies are always matched electron version, simply add script `"postinstall": "electron-builder install-app-deps" to your `package.json`
• writing effective config file=dist\builder-effective-config.yaml
• rebuilding native dependencies [email protected], [email protected], [email protected] platform=win32 arch=x64
⨯ cannot execute cause=exit status 1
out=
> [email protected] install D:\cfgtool-master_new\node_modules\ffi-napi
> node-gyp-build
errorOut=gyp: name 'openssl_fips' is not defined while evaluating condition 'openssl_fips != ""' in binding.gyp while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (D:\cfgtool-master_new\node_modules\node-gyp\lib\configure.js:284:16)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Windows_NT 10.0.19042
gyp ERR! command "C:\\Program Files (x86)\\nodejs\\node.exe" "D:\\cfgtool-master_new\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd D:\cfgtool-master_new\node_modules\ffi-napi
gyp ERR! node -v v12.18.3
gyp ERR! node-gyp -v v9.1.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-gyp-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\pc\AppData\Roaming\npm-cache\_logs\2022-08-27T02_08_05_789Z-debug.log
command='C:\Program Files (x86)\nodejs\node.exe' 'C:\Program Files (x86)\nodejs\node_modules\npm\bin\npm-cli.js' rebuild [email protected] [email protected] [email protected]
workingDir=
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] dist: `electron-builder --win --x64`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] dist script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\pc\AppData\Roaming\npm-cache\_logs\2022-08-27T02_08_05_857Z-debug.log
2022年08月27日 02点08分
1
• electron-builder version=22.14.13 os=10.0.19042
• loaded configuration file=package.json ("build" field)
• loaded parent configuration preset=react-cra
• description is missed in the package.json appPackageFile=D:\cfgtool-master_new\package.json
• author is missed in the package.json appPackageFile=D:\cfgtool-master_new\package.json
• electron-rebuild not required if you use electron-builder, please consider to remove excess dependency from devDependencies
To ensure your native dependencies are always matched electron version, simply add script `"postinstall": "electron-builder install-app-deps" to your `package.json`
• writing effective config file=dist\builder-effective-config.yaml
• rebuilding native dependencies [email protected], [email protected], [email protected] platform=win32 arch=x64
⨯ cannot execute cause=exit status 1
out=
> [email protected] install D:\cfgtool-master_new\node_modules\ffi-napi
> node-gyp-build
errorOut=gyp: name 'openssl_fips' is not defined while evaluating condition 'openssl_fips != ""' in binding.gyp while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (D:\cfgtool-master_new\node_modules\node-gyp\lib\configure.js:284:16)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Windows_NT 10.0.19042
gyp ERR! command "C:\\Program Files (x86)\\nodejs\\node.exe" "D:\\cfgtool-master_new\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd D:\cfgtool-master_new\node_modules\ffi-napi
gyp ERR! node -v v12.18.3
gyp ERR! node-gyp -v v9.1.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-gyp-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\pc\AppData\Roaming\npm-cache\_logs\2022-08-27T02_08_05_789Z-debug.log
command='C:\Program Files (x86)\nodejs\node.exe' 'C:\Program Files (x86)\nodejs\node_modules\npm\bin\npm-cli.js' rebuild [email protected] [email protected] [email protected]
workingDir=
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] dist: `electron-builder --win --x64`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] dist script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\pc\AppData\Roaming\npm-cache\_logs\2022-08-27T02_08_05_857Z-debug.log