Without Code Signing electron-builder works properly. But when i set CSC_LINK and CSC_KEY_PASSWORD i recieve an error:
SignTool Error: An error occurred while attempting to load the signing
certificate from: C:\Users\username\AppData\Local\Temp\electron-builder-eZ9sHV\0.p12
This error occures after:
Packaging for platform win32 ia32 using electron 1.3.2
Running script is:
build --ia32
Log:
0 info it worked if it ends with ok
1 verbose cli [ 'C:\Program Files\nodejs\node.exe',
1 verbose cli 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'run',
1 verbose cli 'dist' ]
2 info using npm@4.1.2
3 info using node@v7.7.3
4 verbose run-script [ 'predist', 'dist', 'postdist' ]
5 info lifecycle future_output~predist: future_output
6 silly lifecycle future_output~predist: no script for predist, continuing
7 info lifecycle future_output~dist: future_output
8 verbose lifecycle future_output~dist: unsafe-perm in lifecycle true
9 verbose lifecycle future_output~dist: PATH: (Here is path)
10 verbose lifecycle future_output~dist: CWD: C:\Users\username\Downloads\DesktopOffline\DesktopOffline
11 silly lifecycle future_output~dist: Args: [ '/d /s /c', 'build --ia32' ]
12 silly lifecycle future_output~dist: Returned: code: 4294967295 signal: null
13 info lifecycle future_output~dist: Failed to exec dist script
14 verbose stack Error: future_output dist: build --ia32
14 verbose stack Exit status 4294967295
14 verbose stack at EventEmitter. (C:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:279:16)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at EventEmitter.emit (events.js:194:7)
14 verbose stack at ChildProcess. (C:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js:40:14)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at ChildProcess.emit (events.js:194:7)
14 verbose stack at maybeClose (internal/child_process.js:899:16)
14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
15 verbose pkgid future_output
16 verbose cwd C:\Users\username\Downloads\DesktopOffline\DesktopOffline
17 error Windows_NT 6.1.7601
18 error argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "dist"
19 error node v7.7.3
20 error npm v4.1.2
21 error code ELIFECYCLE
22 error future_output dist: build --ia32
22 error Exit status 4294967295
23 error Failed at the future_output dist script 'build --ia32'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the pega-desktop-client package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error build --ia32
23 error You can get information on how to open an issue for this project with:
23 error npm bugs pega-desktop-client
23 error Or if that isn't available, you can get their info via:
23 error npm owner ls pega-desktop-client
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]
Without Code Signing electron-builder works properly. But when i set CSC_LINK and CSC_KEY_PASSWORD i recieve an error:
This error occures after:
Running script is:
Log: