{"action":"created","issue":{"url":"https://api.github.com/repos/electron-userland/electron-builder/issues/1181","repository_url":"https://api.github.com/repos/electron-userland/electron-builder","labels_url":"https://api.github.com/repos/electron-userland/electron-builder/issues/1181/labels{/name}","comments_url":"https://api.github.com/repos/electron-userland/electron-builder/issues/1181/comments","events_url":"https://api.github.com/repos/electron-userland/electron-builder/issues/1181/events","html_url":"https://github.com/electron-userland/electron-builder/issues/1181","id":203560326,"number":1181,"title":"Cannot building NSIS","user":{"login":"yuritk","id":13171572,"avatar_url":"https://avatars.githubusercontent.com/u/13171572?v=3","gravatar_id":"","url":"https://api.github.com/users/yuritk","html_url":"https://github.com/yuritk","followers_url":"https://api.github.com/users/yuritk/followers","following_url":"https://api.github.com/users/yuritk/following{/other_user}","gists_url":"https://api.github.com/users/yuritk/gists{/gist_id}","starred_url":"https://api.github.com/users/yuritk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuritk/subscriptions","organizations_url":"https://api.github.com/users/yuritk/orgs","repos_url":"https://api.github.com/users/yuritk/repos","events_url":"https://api.github.com/users/yuritk/events{/privacy}","received_events_url":"https://api.github.com/users/yuritk/received_events","type":"User","site_admin":false},"labels":[{"id":395000029,"url":"https://api.github.com/repos/electron-userland/electron-builder/labels/nsis","name":"nsis","color":"bfd4f2","default":false},{"id":309000640,"url":"https://api.github.com/repos/electron-userland/electron-builder/labels/windows","name":"windows","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2017-01-27T05:21:28Z","updated_at":"2017-01-30T12:18:59Z","closed_at":"2017-01-30T10:11:56Z","body":"<!-- Which version of electron-builder are you using? -->\r\n* **Version**: 11.7.0\r\n\r\n<!-- What target are you building for? -->\r\n* **Target**: win32/win64\r\n\r\n<!-- Enter your issue details below this comment. -->\r\nWhen i run dist, receive this error and i dont know what to do\r\n\r\nError: C:\\Users\\Yuri\\AppData\\Local\\electron-builder\\cache\\nsis\\nsis-3.0.1.5\\Bin\\makensis.exe exited with code 1\r\nOutput:\r\nCommand line defined: \"APP_ID=isyBuy.id\"\r\nCommand line defined: \"APP_GUID=d9953cb9-011d-5fbc-b657-7cf8430c55d3\"\r\nCommand line defined: \"PRODUCT_NAME=isyBuy\"\r\nCommand line defined: \"PRODUCT_FILENAME=isyBuy\"\r\nCommand line defined: \"APP_FILENAME=isyBuy\"\r\nCommand line defined: \"APP_DESCRIPTION=BuildTest\"\r\nCommand line defined: \"VERSION=2.0.0\"\r\nCommand line defined: \"COMPANY_NAME=isyBuy\"\r\nCommand line defined: \"PROJECT_DIR=C:\\xampp\\htdocs\\isyBuy\\Electron\\1.0\"\r\nCommand line defined: \"BUILD_RESOURCES_DIR=C:\\xampp\\htdocs\\isyBuy\\Electron\\1.0\\build\"\r\nCommand line defined: \"MUI_ICON=C:\\xampp\\htdocs\\isyBuy\\Electron\\1.0\\build\\icon.ico\"\r\nCommand line defined: \"MUI_UNICON=C:\\xampp\\htdocs\\isyBuy\\Electron\\1.0\\build\\icon.ico\"\r\nCommand line defined: \"APP_64=C:\\xampp\\htdocs\\isyBuy\\Electron\\1.0\\dist\\isyBuy-2.0.0-x64.nsis.7z\"\r\nCommand line defined: \"RUN_AFTER_FINISH\"\r\nCommand line defined: \"COMPRESS=auto\"\r\nCommand line defined: \"ONE_CLICK\"\r\nCommand line defined: \"UNINSTALLER_OUT_FILE=C:\\Users\\Yuri\\AppData\\Local\\Temp\\electron-builder-Gbcvg5\\0-1-uninstaller.exe\"\r\nProcessing config: C:\\Users\\Yuri\\AppData\\Local\\electron-builder\\cache\\nsis\\nsis-3.0.1.5\\nsisconf.nsh\r\nProcessing script file: \"<stdin>\" (ACP)\r\n\r\nProcessed 1 file, 11 command line commands, writing output (x86-unicode):\r\n\r\nOutput: \"C:\\xampp\\htdocs\\isyBuy\\Electron\\1.0\\dist\\isyBuy Setup 2.0.0.exe\"\r\n\r\nError output:\r\nCan't open output file\r\nError - aborting creation process\r\n\r\n    at ChildProcess.childProcess.once.code (C:\\xampp\\htdocs\\isyBuy\\Electron\\1.0\\node_modules\\electron-builder-util\\src\\util.ts:134:14)\r\n    at ChildProcess.g (events.js:291:16)\r\n    at emitTwo (events.js:106:13)\r\n    at ChildProcess.emit (events.js:191:7)\r\n    at maybeClose (internal/child_process.js:877:16)\r\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)\r\nFrom previous event:\r\n    at C:\\xampp\\htdocs\\isyBuy\\Electron\\1.0\\node_modules\\electron-builder\\src\\targets\\nsis.ts:299:5\r\nFrom previous event:\r\n    at NsisTarget.executeMakensis (C:\\xampp\\htdocs\\isyBuy\\Electron\\1.0\\node_modules\\electron-builder\\out\\targets\\nsis.js:343:11)\r\n    at C:\\xampp\\htdocs\\isyBuy\\Electron\\1.0\\node_modules\\electron-builder\\src\\targets\\nsis.ts:213:58\r\n    at next (native)\r\n    at runCallback (timers.js:649:20)\r\n    at tryOnImmediate (timers.js:622:5)\r\n    at processImmediate [as _immediateCallback] (timers.js:594:5)\r\nFrom previous event:\r\n    at NsisTarget.buildInstaller (C:\\xampp\\htdocs\\isyBuy\\Electron\\1.0\\node_modules\\electron-builder\\out\\targets\\nsis.js:260:11)\r\n    at C:\\xampp\\htdocs\\isyBuy\\Electron\\1.0\\node_modules\\electron-builder\\src\\targets\\nsis.ts:59:18\r\n    at next (native)\r\nFrom previous event:\r\n    at NsisTarget.finishBuild (C:\\xampp\\htdocs\\isyBuy\\Electron\\1.0\\node_modules\\electron-builder\\out\\targets\\nsis.js:133:11)\r\n    at C:\\xampp\\htdocs\\isyBuy\\Electron\\1.0\\node_modules\\electron-builder\\src\\packager.ts:179:31\r\nFrom previous event:\r\n    at Packager.doBuild (C:\\xampp\\htdocs\\isyBuy\\Electron\\1.0\\node_modules\\electron-builder\\out\\packager.js:299:11)\r\n    at C:\\xampp\\htdocs\\isyBuy\\Electron\\1.0\\node_modules\\electron-builder\\src\\packager.ts:143:38\r\n    at next (native)\r\n    at runCallback (timers.js:649:20)\r\n    at tryOnImmediate (timers.js:622:5)\r\n    at processImmediate [as _immediateCallback] (timers.js:594:5)\r\nFrom previous event:\r\n    at Packager.build (C:\\xampp\\htdocs\\isyBuy\\Electron\\1.0\\node_modules\\electron-builder\\out\\packager.js:251:11)\r\n    at C:\\xampp\\htdocs\\isyBuy\\Electron\\1.0\\node_modules\\electron-builder\\src\\builder.ts:214:40\r\n    at next (native)\r\nFrom previous event:\r\n    at build (C:\\xampp\\htdocs\\isyBuy\\Electron\\1.0\\node_modules\\electron-builder\\out\\builder.js:63:21)\r\n    at Object.<anonymous> (C:\\xampp\\htdocs\\isyBuy\\Electron\\1.0\\node_modules\\electron-builder\\out\\cli\\build-cli.js:68:41)\r\n    at Module._compile (module.js:570:32)\r\n    at Object.Module._extensions..js (module.js:579:10)\r\n    at Module.load (module.js:487:32)\r\n    at tryModuleLoad (module.js:446:12)\r\n    at Function.Module._load (module.js:438:3)\r\n    at Module.runMain (module.js:604:10)\r\n    at run (bootstrap_node.js:394:7)\r\n    at startup (bootstrap_node.js:149:9)\r\n    at bootstrap_node.js:509:3\r\n\r\nnpm ERR! Windows_NT 10.0.14393\r\nnpm ERR! argv \"C:\\\\Program Files\\\\nodejs\\\\node.exe\" \"C:\\\\Users\\\\Yuri\\\\AppData\\\\Roaming\\\\npm\\\\node_modules\\\\npm\\\\bin\\\\npm-cli.js\" \"run\" \"dist\"\r\nnpm ERR! node v6.9.4\r\nnpm ERR! npm  v4.1.1\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! isyBuy@2.0.0 dist: `build`\r\nnpm ERR! Exit status 4294967295\r\nnpm ERR!\r\nnpm ERR! Failed at the isyBuy@2.0.0 dist script 'build'.\r\nnpm ERR! Make sure you have the latest version of node.js and npm installed.\r\nnpm ERR! If you do, this is most likely a problem with the isyBuy package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     build\r\nnpm ERR! You can get information on how to open an issue for this project with:\r\nnpm ERR!     npm bugs isyBuy\r\nnpm ERR! Or if that isn't available, you can get their info via:\r\nnpm ERR!     npm owner ls isyBuy\r\nnpm ERR! There is likely additional logging output above.\r\n\r\n\r\nAnd here is my build section:\r\n\"build\": {\r\n    \"appId\": \"isyBuy.id\",\r\n    \"mac\": {\r\n      \"category\": \"your.app.category.type\"\r\n    },\r\n    \"win\": {\r\n      \"iconUrl\": \"(windows-only) https link to icon\"\r\n    }\r\n  }"},"comment":{"url":"https://api.github.com/repos/electron-userland/electron-builder/issues/comments/276049137","html_url":"https://github.com/electron-userland/electron-builder/issues/1181#issuecomment-276049137","issue_url":"https://api.github.com/repos/electron-userland/electron-builder/issues/1181","id":276049137,"user":{"login":"develar","id":350686,"avatar_url":"https://avatars.githubusercontent.com/u/350686?v=3","gravatar_id":"","url":"https://api.github.com/users/develar","html_url":"https://github.com/develar","followers_url":"https://api.github.com/users/develar/followers","following_url":"https://api.github.com/users/develar/following{/other_user}","gists_url":"https://api.github.com/users/develar/gists{/gist_id}","starred_url":"https://api.github.com/users/develar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/develar/subscriptions","organizations_url":"https://api.github.com/users/develar/orgs","repos_url":"https://api.github.com/users/develar/repos","events_url":"https://api.github.com/users/develar/events{/privacy}","received_events_url":"https://api.github.com/users/develar/received_events","type":"User","site_admin":false},"created_at":"2017-01-30T12:18:59Z","updated_at":"2017-01-30T12:18:59Z","body":"Thanks for info. Yeah, some strange windows issue."}}
{"actor":{"display_login":"develar"}}