{"action":"created","issue":{"url":"https://api.github.com/repos/oznu/homebridge-config-ui-x/issues/53","repository_url":"https://api.github.com/repos/oznu/homebridge-config-ui-x","labels_url":"https://api.github.com/repos/oznu/homebridge-config-ui-x/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/oznu/homebridge-config-ui-x/issues/53/comments","events_url":"https://api.github.com/repos/oznu/homebridge-config-ui-x/issues/53/events","html_url":"https://github.com/oznu/homebridge-config-ui-x/issues/53","id":304537018,"number":53,"title":"Updating plugins doesn't work on Windows","user":{"login":"pax0707","id":3536230,"avatar_url":"https://avatars3.githubusercontent.com/u/3536230?v=4","gravatar_id":"","url":"https://api.github.com/users/pax0707","html_url":"https://github.com/pax0707","followers_url":"https://api.github.com/users/pax0707/followers","following_url":"https://api.github.com/users/pax0707/following{/other_user}","gists_url":"https://api.github.com/users/pax0707/gists{/gist_id}","starred_url":"https://api.github.com/users/pax0707/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pax0707/subscriptions","organizations_url":"https://api.github.com/users/pax0707/orgs","repos_url":"https://api.github.com/users/pax0707/repos","events_url":"https://api.github.com/users/pax0707/events{/privacy}","received_events_url":"https://api.github.com/users/pax0707/received_events","type":"User","site_admin":false},"labels":[{"id":784476360,"url":"https://api.github.com/repos/oznu/homebridge-config-ui-x/labels/bug","name":"bug","color":"ee0701","default":true},{"id":864943780,"url":"https://api.github.com/repos/oznu/homebridge-config-ui-x/labels/windows","name":"windows","color":"0f5b8e","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-12T20:57:02Z","updated_at":"2018-03-13T07:29:08Z","closed_at":"2018-03-13T07:23:15Z","author_association":"NONE","body":"Updating plugins doesn't work from web, works from cmd.\r\n\r\n```\r\n[2018-3-12 21:46:47] [Config] Running Command: C:\\Program Files\\nodejs\\npm.cmd install --unsafe-perm homebridge-config-ui-x@latest\r\n[2018-3-12 21:47:31] [Config] Running Command: node C:\\Users\\pax07\\node_modules\\nsp\\bin\\nsp check\r\n[2018-3-12 21:47:32] [Config] Error: File not found:\r\n    at new WindowsPtyAgent (C:\\Users\\pax07\\node_modules\\node-pty\\src\\windowsPtyAgent.ts:52:22)\r\n    at new WindowsTerminal (C:\\Users\\pax07\\node_modules\\node-pty\\src\\windowsTerminal.ts:50:19)\r\n    at Object.spawn (C:\\Users\\pax07\\node_modules\\node-pty\\src\\index.ts:30:10)\r\n    at Bluebird (C:\\Users\\pax07\\node_modules\\homebridge-config-ui-x\\src\\pm.ts:182:24)\r\n    at Promise._execute (C:\\Users\\pax07\\node_modules\\bluebird\\js\\release\\debuggability.js:303:9)\r\n    at Promise._resolveFromExecutor (C:\\Users\\pax07\\node_modules\\bluebird\\js\\release\\promise.js:483:18)\r\n    at new Promise (C:\\Users\\pax07\\node_modules\\bluebird\\js\\release\\promise.js:79:10)\r\n    at PackageManager.runNspScan (C:\\Users\\pax07\\node_modules\\homebridge-config-ui-x\\src\\pm.ts:170:12)\r\n    at executeCommand.then (C:\\Users\\pax07\\node_modules\\homebridge-config-ui-x\\src\\pm.ts:434:28)\r\n    at tryCatcher (C:\\Users\\pax07\\node_modules\\bluebird\\js\\release\\util.js:16:23)\r\n    at Promise._settlePromiseFromHandler (C:\\Users\\pax07\\node_modules\\bluebird\\js\\release\\promise.js:512:31)\r\n    at Promise._settlePromise (C:\\Users\\pax07\\node_modules\\bluebird\\js\\release\\promise.js:569:18)\r\n    at Promise._settlePromise0 (C:\\Users\\pax07\\node_modules\\bluebird\\js\\release\\promise.js:614:10)\r\n    at Promise._settlePromises (C:\\Users\\pax07\\node_modules\\bluebird\\js\\release\\promise.js:693:18)\r\n    at Promise._fulfill (C:\\Users\\pax07\\node_modules\\bluebird\\js\\release\\promise.js:638:18)\r\n    at Promise._resolveCallback (C:\\Users\\pax07\\node_modules\\bluebird\\js\\release\\promise.js:432:57)\r\n    at Promise._settlePromiseFromHandler (C:\\Users\\pax07\\node_modules\\bluebird\\js\\release\\promise.js:524:17)\r\n    at Promise._settlePromise (C:\\Users\\pax07\\node_modules\\bluebird\\js\\release\\promise.js:569:18)\r\n    at Promise._settlePromise0 (C:\\Users\\pax07\\node_modules\\bluebird\\js\\release\\promise.js:614:10)\r\n    at Promise._settlePromises (C:\\Users\\pax07\\node_modules\\bluebird\\js\\release\\promise.js:693:18)\r\n    at Promise._fulfill (C:\\Users\\pax07\\node_modules\\bluebird\\js\\release\\promise.js:638:18)\r\n    at MappingPromiseArray.PromiseArray._resolve (C:\\Users\\pax07\\node_modules\\bluebird\\js\\release\\promise_array.js:126:19)\r\n[2018-3-12 21:49:33] Got SIGINT, shutting down Homebridge...\r\nTerminate batch job (Y/N)? y\r\n\r\nC:\\Users\\pax07>npm i homebridge-config-ui-x\r\nnpm WARN saveError ENOENT: no such file or directory, open 'C:\\Users\\pax07\\package.json'\r\nnpm WARN enoent ENOENT: no such file or directory, open 'C:\\Users\\pax07\\package.json'\r\nnpm WARN pax07 No description\r\nnpm WARN pax07 No repository field.\r\nnpm WARN pax07 No README data\r\nnpm WARN pax07 No license field.\r\n\r\n+ homebridge-config-ui-x@3.2.0\r\nupdated 1 package in 12.731s\r\n\r\nC:\\Users\\pax07>\r\n```"},"comment":{"url":"https://api.github.com/repos/oznu/homebridge-config-ui-x/issues/comments/372571733","html_url":"https://github.com/oznu/homebridge-config-ui-x/issues/53#issuecomment-372571733","issue_url":"https://api.github.com/repos/oznu/homebridge-config-ui-x/issues/53","id":372571733,"user":{"login":"oznu","id":3979615,"avatar_url":"https://avatars1.githubusercontent.com/u/3979615?v=4","gravatar_id":"","url":"https://api.github.com/users/oznu","html_url":"https://github.com/oznu","followers_url":"https://api.github.com/users/oznu/followers","following_url":"https://api.github.com/users/oznu/following{/other_user}","gists_url":"https://api.github.com/users/oznu/gists{/gist_id}","starred_url":"https://api.github.com/users/oznu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oznu/subscriptions","organizations_url":"https://api.github.com/users/oznu/orgs","repos_url":"https://api.github.com/users/oznu/repos","events_url":"https://api.github.com/users/oznu/events{/privacy}","received_events_url":"https://api.github.com/users/oznu/received_events","type":"User","site_admin":false},"created_at":"2018-03-13T07:29:08Z","updated_at":"2018-03-13T07:29:08Z","author_association":"OWNER","body":"Fixed in 3.2.1. You can upgrade via the web ui, just ignore the error at the end, the plugin still gets updated, then restart the server and do full refresh of the page (CTRL+F5) and everything should work next time."}}
{"actor":{"display_login":"oznu"}}