{ "id": "176154", "key": "DAEMON-340", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12519", "key": "DAEMON", "name": "Appcelerator Daemon" }, "fixVersions": [ { "id": "21216", "description": "", "name": "Appc Daemon 4.0.3", "archived": false, "released": true, "releaseDate": "2021-04-15" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2021-04-15T02:57:57.000+0000", "created": "2021-04-14T22:37:38.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "updated": "2021-04-15T14:12:57.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "15619", "name": "appcd-util" } ], "description": "It's erroring during redaction because process.env.HOME isn't always set on Windows, so it should use os.homedir most likely\r\n\r\n'TypeError: Cannot read property 'replace' of undefined\r\n at addReplacement (C:\\Users\\awam\\AppData\\Roaming\\npm\\node_modules\\appcd\\node_modules\\appcd-util\\dist\\util.js:764:40)\r\n at redact (C:\\Users\\awam\\AppData\\Roaming\\npm\\node_modules\\appcd\\node_modules\\appcd-util\\dist\\util.js:681:2)\r\n at map (C:\\Users\\awam\\AppData\\Roaming\\npm\\node_modules\\appcd\\node_modules\\appcd-plugin\\dist\\tunnel-stream.js:40:14)\r\n at Array.map ()\r\n at TunnelStream._write (C:\\Users\\awam\\AppData\\Roaming\\npm\\node_modules\\appcd\\node_modules\\appcd-plugin\\dist\\tunnel-stream.js:34:33)\r\n at writeOrBuffer (internal/streams/writable.js:358:12)\r\n at TunnelStream.write (internal/streams/writable.js:303:10)\r\n at SnoopLogg.dispatch (C:\\Users\\awam\\AppData\\Roaming\\npm\\node_modules\\appcd\\node_modules\\snooplogg\\dist\\index.js:451:14)\r\n at process.onSnoopMessage (C:\\Users\\awam\\AppData\\Roaming\\npm\\node_modules\\appcd\\node_modules\\snooplogg\\dist\\index.js:625:10)\r\n at process.emit (events.js:315:20)", "attachment": [], "flagged": false, "summary": "Plugins fail on startup on Windows", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": null, "comment": { "comments": [ { "id": "458587", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "PR: https://github.com/appcelerator/appc-daemon/pull/525", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2021-04-14T22:44:01.000+0000", "updated": "2021-04-14T22:44:01.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }