Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Exit code 1026, While building the electron application. #3027

Closed
bala10 opened this issue Jun 22, 2018 · 0 comments
Closed

Error: Exit code 1026, While building the electron application. #3027

bala10 opened this issue Jun 22, 2018 · 0 comments

Comments

@bala10
Copy link

bala10 commented Jun 22, 2018

  • Version: 20.15.1
  • Target: Windows

I was trying to build an application developed using electron with electron-builder but while building I am getting an error as follows:

_Error: Exit code: 1026. Command failed: C:\Users\balasubramani\AppData\Local\electron-builder\cache\wix\wix-4.0.0.5512.2\candle.exe -arch x64 -dappDir=D:\a\dist\win-unpacked -pedantic -wx project.wxs
D:\a\dist__msi-x64\project.wxs(57) : error CNDL1026 : The Directory/@id attribute's value, 'dcmVzb3VyY2VzXGFwcC5hc2FyLnVucGFja2VkXG5vZGVfbW9kdWxlc1x3aW5zZXItd2l0aC1hcGk', is too long for an identifier. Standard identifiers are 72 characters long or less.
D:\a\dist__msi-x64\project.wxs(58) : error CNDL1026 : The Directory/@id attribute's value, 'dcmVzb3VyY2VzXGFwcC5hc2FyLnVucGFja2VkXG5vZGVfbW9kdWxlc1x3aW5zZXItd2l0aC1hcGlcbm9kZV9tb2R1bGVzXGFzeW5j', is too long for an identifier. Standard identifiers are 72 characters long or less.
D:\a\dist__msi-x64\project.wxs(59) : error CNDL1026 : The Directory/@id attribute's value, 'dcmVzb3VyY2VzXGFwcC5hc2FyLnVucGFja2VkXG5vZGVfbW9kdWxlc1x3aW5zZXItd2l0aC1hcGlcbm9kZV9tb2R1bGVzXGFzeW5jXGxpYg', is too long for an identifier. Standard identifiers are 72 characters long or less.
D:\a\dist__msi-x64\project.wxs(60) : error CNDL1026 : The Directory/@id attribute's value, 'dcmVzb3VyY2VzXGFwcC5hc2FyLnVucGFja2VkXG5vZGVfbW9kdWxlc1x3aW5zZXItd2l0aC1hcGlcYmlu', is too long for an identifier. Standard identifiers are 72 characters long or less.
D:\a\dist__msi-x64\project.wxs(63) : error CNDL1026 : The Directory/@id attribute's value, 'dcmVzb3VyY2VzXGFwcC5hc2FyLnVucGFja2VkXG5vZGVfbW9kdWxlc1xwdXBwZXRlZXJcbm9kZV9tb2R1bGVzXG1z', is too long for an identifier. Standard identifiers are 72 characters long or less.
D:\a\dist__msi-x64\project.wxs(64) : error CNDL1026 : The Directory/@id attribute's value, 'dcmVzb3VyY2VzXGFwcC5hc2FyLnVucGFja2VkXG5vZGVfbW9kdWxlc1xwdXBwZXRlZXJcbm9kZV9tb2R1bGVzXGRlYnVn', is too long for an identifier. Standard identifiers are 72 characters long or less.
D:\a\dist__msi-x64\project.wxs(65) : error CNDL1026 : The Directory/@id attribute's value, 'dcmVzb3VyY2VzXGFwcC5hc2FyLnVucGFja2VkXG5vZGVfbW9kdWxlc1xwdXBwZXRlZXJcbm9kZV9tb2R1bGVzXGRlYnVnXHNyYw', is too long for an identifier. Standard identifiers are 72 characters long or less.
D:\a\dist__msi-x64\project.wxs(66) : error CNDL1026 : The Directory/@id attribute's value, 'dcmVzb3VyY2VzXGFwcC5hc2FyLnVucGFja2VkXG5vZGVfbW9kdWxlc1xwdXBwZXRlZXJcbm9kZTZcbGli', is too long for an identifier. Standard identifiers are 72 characters long or less.
D:\a\dist__msi-x64\project.wxs(67) : error CNDL1026 : The Directory/@id attribute's value, 'dcmVzb3VyY2VzXGFwcC5hc2FyLnVucGFja2VkXG5vZGVfbW9kdWxlc1xwdXBwZXRlZXJcbGli', is too long for an identifier. Standard identifiers are 72 characters long or less.
D:\a\dist__msi-x64\project.wxs(68) : error CNDL1026 : The Directory/@id attribute's value, 'dcmVzb3VyY2VzXGFwcC5hc2FyLnVucGFja2VkXG5vZGVfbW9kdWxlc1xwdXBwZXRlZXJcLmxvY2FsLWNocm9taXVtXHdpbjY0LTU1NTY2OFxjaHJvbWUtd2luMzI', is too long for an identifier. Standard identifiers are 72 characters long or less.
D:\a\dist__msi-x64\project.wxs(69) : error CNDL1026 : The Directory/@id attribute's value, 'dcmVzb3VyY2VzXGFwcC5hc2FyLnVucGFja2VkXG5vZGVfbW9kdWxlc1xwdXBwZXRlZXJcLmxvY2FsLWNocm9taXVtXHdpbjY0LTU1NTY2OFxjaHJvbWUtd2luMzJcc3dpZnRzaGFkZXI', is too long for an identifier. Standard identifiers are 72 characters long or less.
D:\a\dist__msi-x64\project.wxs(70) : error CNDL1026 : The Directory/@id attribute's value, 'dcmVzb3VyY2VzXGFwcC5hc2FyLnVucGFja2VkXG5vZGVfbW9kdWxlc1xwdXBwZXRlZXJcLmxvY2FsLWNocm9taXVtXHdpbjY0LTU1NTY2OFxjaHJvbWUtd2luMzJcbG9jYWxlcw', is too long for an identifier. Standard identifiers are 72 characters long or less.
D:\a\dist__msi-x64\project.wxs(71) : error CNDL1026 : The Directory/@id attribute's value, 'dcmVzb3VyY2VzXGFwcC5hc2FyLnVucGFja2VkXG5vZGVfbW9kdWxlc1xwdXBwZXRlZXJcLmxvY2FsLWNocm9taXVtXHdpbjY0LTU1NTY2OFxjaHJvbWUtd2luMzJcTUVJUHJlbG9hZA', is too long for an identifier. Standard identifiers are 72 characters long or less.

WiX Toolset Compiler version 4.0.0.5512
Copyright (c) .NET Foundation and contributors. All rights reserved.

D:\a\dist__msi-x64\project.wxs

D:\a\dist__msi-x64\project.wxs(57) : error CNDL1026 : The Directory/@id attribute's value, 'dcmVzb3VyY2VzXGFwcC5hc2FyLnVucGFja2VkXG5vZGVfbW9kdWxlc1x3aW5zZXItd2l0aC1hcGk', is too long for an identifier. Standard identifiers are 72 characters long or less.
D:\a\dist__msi-x64\project.wxs(58) : error CNDL1026 : The Directory/@id attribute's value, 'dcmVzb3VyY2VzXGFwcC5hc2FyLnVucGFja2VkXG5vZGVfbW9kdWxlc1x3aW5zZXItd2l0aC1hcGlcbm9kZV9tb2R1bGVzXGFzeW5j', is too long for an identifier. Standard identifiers are 72 characters long or less.
D:\a\dist__msi-x64\project.wxs(59) : error CNDL1026 : The Directory/@id attribute's value, 'dcmVzb3VyY2VzXGFwcC5hc2FyLnVucGFja2VkXG5vZGVfbW9kdWxlc1x3aW5zZXItd2l0aC1hcGlcbm9kZV9tb2R1bGVzXGFzeW5jXGxpYg', is too long for an identifier. Standard identifiers are 72 characters long or less.
D:\a\dist__msi-x64\project.wxs(60) : error CNDL1026 : The Directory/@id attribute's value, 'dcmVzb3VyY2VzXGFwcC5hc2FyLnVucGFja2VkXG5vZGVfbW9kdWxlc1x3aW5zZXItd2l0aC1hcGlcYmlu', is too long for an identifier. Standard identifiers are 72 characters long or less.
D:\a\dist__msi-x64\project.wxs(63) : error CNDL1026 : The Directory/@id attribute's value, 'dcmVzb3VyY2VzXGFwcC5hc2FyLnVucGFja2VkXG5vZGVfbW9kdWxlc1xwdXBwZXRlZXJcbm9kZV9tb2R1bGVzXG1z', is too long for an identifier. Standard identifiers are 72 characters long or less.
D:\a\dist__msi-x64\project.wxs(64) : error CNDL1026 : The Directory/@id attribute's value, 'dcmVzb3VyY2VzXGFwcC5hc2FyLnVucGFja2VkXG5vZGVfbW9kdWxlc1xwdXBwZXRlZXJcbm9kZV9tb2R1bGVzXGRlYnVn', is too long for an identifier. Standard identifiers are 72 characters long or less.
D:\a\dist__msi-x64\project.wxs(65) : error CNDL1026 : The Directory/@id attribute's value, 'dcmVzb3VyY2VzXGFwcC5hc2FyLnVucGFja2VkXG5vZGVfbW9kdWxlc1xwdXBwZXRlZXJcbm9kZV9tb2R1bGVzXGRlYnVnXHNyYw', is too long for an identifier. Standard identifiers are 72 characters long or less.
D:\a\dist__msi-x64\project.wxs(66) : error CNDL1026 : The Directory/@id attribute's value, 'dcmVzb3VyY2VzXGFwcC5hc2FyLnVucGFja2VkXG5vZGVfbW9kdWxlc1xwdXBwZXRlZXJcbm9kZTZcbGli', is too long for an identifier. Standard identifiers are 72 characters long or less.
D:\a\dist__msi-x64\project.wxs(67) : error CNDL1026 : The Directory/@id attribute's value, 'dcmVzb3VyY2VzXGFwcC5hc2FyLnVucGFja2VkXG5vZGVfbW9kdWxlc1xwdXBwZXRlZXJcbGli', is too long for an identifier. Standard identifiers are 72 characters long or less.
D:\a\dist__msi-x64\project.wxs(68) : error CNDL1026 : The Directory/@id attribute's value, 'dcmVzb3VyY2VzXGFwcC5hc2FyLnVucGFja2VkXG5vZGVfbW9kdWxlc1xwdXBwZXRlZXJcLmxvY2FsLWNocm9taXVtXHdpbjY0LTU1NTY2OFxjaHJvbWUtd2luMzI', is too long for an identifier. Standard identifiers are 72 characters long or less.
D:\a\dist__msi-x64\project.wxs(69) : error CNDL1026 : The Directory/@id attribute's value, 'dcmVzb3VyY2VzXGFwcC5hc2FyLnVucGFja2VkXG5vZGVfbW9kdWxlc1xwdXBwZXRlZXJcLmxvY2FsLWNocm9taXVtXHdpbjY0LTU1NTY2OFxjaHJvbWUtd2luMzJcc3dpZnRzaGFkZXI', is too long for an identifier. Standard identifiers are 72 characters long or less.
D:\a\dist__msi-x64\project.wxs(70) : error CNDL1026 : The Directory/@id attribute's value, 'dcmVzb3VyY2VzXGFwcC5hc2FyLnVucGFja2VkXG5vZGVfbW9kdWxlc1xwdXBwZXRlZXJcLmxvY2FsLWNocm9taXVtXHdpbjY0LTU1NTY2OFxjaHJvbWUtd2luMzJcbG9jYWxlcw', is too long for an identifier. Standard identifiers are 72 characters long or less.
D:\a\dist__msi-x64\project.wxs(71) : error CNDL1026 : The Directory/@id attribute's value, 'dcmVzb3VyY2VzXGFwcC5hc2FyLnVucGFja2VkXG5vZGVfbW9kdWxlc1xwdXBwZXRlZXJcLmxvY2FsLWNocm9taXVtXHdpbjY0LTU1NTY2OFxjaHJvbWUtd2luMzJcTUVJUHJlbG9hZA', is too long for an identifier. Standard identifiers are 72 characters long or less.

at C:\Users\balasubramani\AppData\Roaming\npm\node_modules\electron-builder\node_modules\builder-util\src\util.ts:125:16
at ChildProcess.exithandler (child_process.js:282:5)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)

From previous event:
at MsiTarget.build (C:\Users\balasubramani\AppData\Roaming\npm\node_modules\electron-builder\node_modules\electron-builder-lib\src\targets\MsiTarget.ts:42:44)
at Function.buildAsyncTargets (C:\Users\balasubramani\AppData\Roaming\npm\node_modules\electron-builder\node_modules\electron-builder-lib\src\platformPackager.ts:144:36)
at WinPackager.packageInDistributableFormat (C:\Users\balasubramani\AppData\Roaming\npm\node_modules\electron-builder\node_modules\electron-builder-lib\src\platformPackager.ts:123:24)
at C:\Users\balasubramani\AppData\Roaming\npm\node_modules\electron-builder\node_modules\electron-builder-lib\src\platformPackager.ts:118:10
at Generator.next ()
at runCallback (timers.js:810:20)
at tryOnImmediate (timers.js:768:5)
at processImmediate [as _immediateCallback] (timers.js:745:5)
From previous event:
at WinPackager.pack (C:\Users\balasubramani\AppData\Roaming\npm\node_modules\electron-builder\node_modules\electron-builder-lib\src\platformPackager.ts:115:95)
at C:\Users\balasubramani\AppData\Roaming\npm\node_modules\electron-builder\node_modules\electron-builder-lib\src\packager.ts:373:24
at Generator.next ()
at xfs.stat (C:\Users\balasubramani\AppData\Roaming\npm\node_modules\electron-builder\node_modules\fs-extra\lib\mkdirs\mkdirs.js:56:16)
at C:\Users\balasubramani\AppData\Roaming\npm\node_modules\electron-builder\node_modules\graceful-fs\polyfills.js:287:18
at FSReqWrap.oncomplete (fs.js:153:5)
From previous event:
at Packager.doBuild (C:\Users\balasubramani\AppData\Roaming\npm\node_modules\electron-builder\node_modules\electron-builder-lib\src\packager.ts:341:39)
at C:\Users\balasubramani\AppData\Roaming\npm\node_modules\electron-builder\node_modules\electron-builder-lib\src\packager.ts:317:52
at Generator.next ()
at C:\Users\balasubramani\AppData\Roaming\npm\node_modules\electron-builder\node_modules\graceful-fs\graceful-fs.js:99:16
at C:\Users\balasubramani\AppData\Roaming\npm\node_modules\electron-builder\node_modules\graceful-fs\graceful-fs.js:43:10
at FSReqWrap.oncomplete (fs.js:135:15)
From previous event:
at Packager._build (C:\Users\balasubramani\AppData\Roaming\npm\node_modules\electron-builder\node_modules\electron-builder-lib\src\packager.ts:294:133)
at C:\Users\balasubramani\AppData\Roaming\npm\node_modules\electron-builder\node_modules\electron-builder-lib\src\packager.ts:290:23
at Generator.next ()
at runCallback (timers.js:810:20)
at tryOnImmediate (timers.js:768:5)
at processImmediate [as immediateCallback] (timers.js:745:5)
From previous event:
at Packager.build (C:\Users\balasubramani\AppData\Roaming\npm\node_modules\electron-builder\node_modules\electron-builder-lib\src\packager.ts:248:14)
at C:\Users\balasubramani\AppData\Roaming\npm\node_modules\electron-builder\node_modules\electron-builder-lib\src\index.ts:51:40
at Generator.next ()
From previous event:
at build (C:\Users\balasubramani\AppData\Roaming\npm\node_modules\electron-builder\node_modules\electron-builder-lib\out\index.js:220:17)
at build (C:\Users\balasubramani\AppData\Roaming\npm\node_modules\electron-builder\src\builder.ts:234:10)
at then (C:\Users\balasubramani\AppData\Roaming\npm\node_modules\electron-builder\src\cli\cli.ts:46:19)
at

I can't get what the issue is, so please help me to fix this is.

For demo I had attached git repository below, please review and help me.

(https://github.com/bala10/electron-jsreport)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants