{ "id": "174198", "key": "DAEMON-286", "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": [], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2019-10-30T16:34:36.000+0000", "created": "2019-09-30T15:59:37.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [ { "id": "20826", "description": "", "name": "Appc Daemon 3.0.0", "archived": false, "released": true, "releaseDate": "2019-08-13" } ], "issuelinks": [], "assignee": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2019-10-30T16:34:36.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": "15614", "name": "appcd-plugin" } ], "description": "Plugins extend the default Node module definition to override the require behavior and inject a few globals. The provided globals include {{console}}, which is not fully compatible with the default Node behavior.\r\n\r\n- {{require}} is missing {{require.paths}} and {{require.main}}.\r\n- The global {{console}} object in Node is special in that it is is bound to Node's IO streams, which are [TTY|https://nodejs.org/api/tty.html#tty_tty] based streams with additional properties.\r\n\r\nOther Node third-party modules that rely on these particular environment details do not work in plugins.", "attachment": [], "flagged": false, "summary": "Incompatible Node environment in plugin modules", "creator": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "452235", "author": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR: https://github.com/appcelerator/appc-daemon/pull/435\r\n\r\nThe {{console}} issues seem to be resolved with the recent snooplog update.", "updateAuthor": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "created": "2019-10-24T14:00:20.000+0000", "updated": "2019-10-24T14:00:20.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }