{"action":"opened","issue":{"url":"https://api.github.com/repos/chentsulin/electron-react-boilerplate/issues/1141","repository_url":"https://api.github.com/repos/chentsulin/electron-react-boilerplate","labels_url":"https://api.github.com/repos/chentsulin/electron-react-boilerplate/issues/1141/labels{/name}","comments_url":"https://api.github.com/repos/chentsulin/electron-react-boilerplate/issues/1141/comments","events_url":"https://api.github.com/repos/chentsulin/electron-react-boilerplate/issues/1141/events","html_url":"https://github.com/chentsulin/electron-react-boilerplate/issues/1141","id":244841669,"number":1141,"title":"Build Error on Win 10 (NSIS)","user":{"login":"bennygenel","id":4287862,"avatar_url":"https://avatars3.githubusercontent.com/u/4287862?v=4","gravatar_id":"","url":"https://api.github.com/users/bennygenel","html_url":"https://github.com/bennygenel","followers_url":"https://api.github.com/users/bennygenel/followers","following_url":"https://api.github.com/users/bennygenel/following{/other_user}","gists_url":"https://api.github.com/users/bennygenel/gists{/gist_id}","starred_url":"https://api.github.com/users/bennygenel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bennygenel/subscriptions","organizations_url":"https://api.github.com/users/bennygenel/orgs","repos_url":"https://api.github.com/users/bennygenel/repos","events_url":"https://api.github.com/users/bennygenel/events{/privacy}","received_events_url":"https://api.github.com/users/bennygenel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-22T11:25:40Z","updated_at":"2017-07-22T11:25:40Z","closed_at":null,"body":"Hi;\r\n\r\nWhen I run `npm run dev` my app works fine. When I try to build app with `npm run package` I get an error while NSIS packaging stage.\r\n\r\n```\r\nBuilding NSIS installer\r\n  Packaging NSIS installer for arch x64\r\nError: C:\\Users\\Benny\\AppData\\Local\\electron-builder\\cache\\nsis\\nsis-3.0.1.13\\Bin\\makensis.exe exited with code 1\r\nOutput:\r\nCommand line defined: \"APP_ID=org.develar.ElectronReact\"\r\nCommand line defined: \"APP_GUID=6bbac5fa-04bd-5b9b-b752-acf42e3ab443\"\r\nCommand line defined: \"PRODUCT_NAME=ElectronReact\"\r\nCommand line defined: \"PRODUCT_FILENAME=ElectronReact\"\r\nCommand line defined: \"APP_FILENAME=electron-react-boilerplate\"\r\nCommand line defined: \"APP_DESCRIPTION=Electron application boilerplate based on React, React Router, Webpack, React Hot Loader for rapid application development\"\r\nCommand line defined: \"VERSION=1.0.0\"\r\nCommand line defined: \"PROJECT_DIR=C:\\Apps\\order-siparis\"\r\nCommand line defined: \"BUILD_RESOURCES_DIR=C:\\Apps\\order-siparis\\resources\"\r\nCommand line defined: \"COMPANY_NAME=C. T. Lin\"\r\nCommand line defined: \"APP_PRODUCT_FILENAME=ElectronReact\"\r\nCommand line defined: \"APP_64=C:\\Apps\\order-siparis\\release\\electron-react-boilerplate-1.0.0-x64.nsis.7z\"\r\nCommand line defined: \"APP_64_NAME=electron-react-boilerplate-1.0.0-x64.nsis.7z\"\r\nCommand line defined: \"COMPRESSION_METHOD=7z\"\r\nCommand line defined: \"REQUEST_EXECUTION_LEVEL=user\"\r\nCommand line defined: \"COMPRESS=auto\"\r\nProcessing config: C:\\Users\\Benny\\AppData\\Local\\electron-builder\\cache\\nsis\\nsis-3.0.1.13\\nsisconf.nsh\r\nProcessing script file: \"<stdin>\" (ACP)\r\n\r\nError output:\r\nPlugin not found, cannot call Nsis7z::Extract\r\nError in macro doExtractEmbeddedAppPackage on macroline 4\r\nError in macro extractEmbeddedAppPackage on macroline 18\r\nError in script \"<stdin>\" on line 21 -- aborting creation process\r\n\r\nNSIS script:\r\n!addincludedir \"C:\\Apps\\order-siparis\\node_modules\\electron-builder\\templates\\nsis\\include\"\r\n!addplugindir /x86-unicode \"C:\\Users\\Benny\\AppData\\Local\\electron-builder\\cache\\nsis-resources\\nsis-resources-3.0.0\\plugins\\x86-unicode\"\r\n!addplugindir /x86-unicode \"C:\\Apps\\order-siparis\\resources\\x86-unicode\"\r\n!include \"C:\\Users\\Benny\\AppData\\Local\\Temp\\electron-builder-TpJGD7\\0-1-messages.nsh\"\r\n!include \"common.nsh\"\r\n\r\nWindowIcon Off\r\nAutoCloseWindow True\r\nRequestExecutionLevel ${REQUEST_EXECUTION_LEVEL}\r\n\r\nSilentInstall silent\r\n\r\nFunction .onInit\r\n  !insertmacro check64BitAndSetRegView\r\nFunctionEnd\r\n\r\nSection\r\n  StrCpy $INSTDIR $PLUGINSDIR\\app\r\n        SetOutPath $INSTDIR\r\n\r\n        !insertmacro extractEmbeddedAppPackage\r\n\r\n  System::Call 'Kernel32::SetEnvironmentVariable(t, t)i (\"PORTABLE_EXECUTABLE_DIR\", \"$EXEDIR\").r0'\r\n        ExecWait \"$INSTDIR\\${APP_EXECUTABLE_FILENAME}\"\r\n\r\n  SetOutPath $PLUGINSDIR\r\n        RMDir /r $INSTDIR\r\nSectionEnd\r\n```\r\n\r\nCan someone direct me to the right way please. I'm pretty lost for now.\r\n\r\n```\r\nOS: Windows 10\r\nnode: v8.1.2\r\nnpm: 5.1.0\r\n```\r\n"}}
{"actor":{"display_login":"bennygenel"}}