{ "id": "174768", "key": "DAEMON-330", "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": "20871", "description": "", "name": "Appc Daemon 4.0.0", "archived": false, "released": true, "releaseDate": "2021-01-20" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2020-03-31T20:11:40.000+0000", "created": "2020-02-26T23:18:07.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "20899", "description": "", "name": "Appc Daemon 3.2.0", "archived": false, "released": true, "releaseDate": "2020-01-13" } ], "issuelinks": [ { "id": "58237", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "174714", "key": "DAEMON-318", "fields": { "summary": "Investigate upgrading to Yarn 2", "status": { "description": "This issue was once resolved, but the resolution was deemed incorrect. From here issues are either marked assigned or resolved.", "name": "Reopened", "id": "4", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } }, { "id": "58236", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "174628", "key": "DAEMON-311", "fields": { "summary": "Improve appcd plugin management", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } }, { "id": "58244", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "174774", "key": "DAEMON-331", "fields": { "summary": "Windows - Android: \"No Android SDKs were found under the specified location\" ", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2020-03-31T20:11:43.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "15627", "name": "appcd-default-plugins", "description": "Pseudo package for all default appcd plugins" } ], "description": "appcd-default-plugins can find Yarn, but Lerna cannot. Probably a bug that is easily reproducible on a clean Windows machine as a dev machine likely has Yarn already installed.\r\n\r\nSystem is running Node.js 10.13.0. Appc Daemon core is running Node.js 10.16.3.\r\n\r\n{code}\r\n2020-02-26T22:39:32.624Z appcd:default-plugins Found yarn: C:\\Users\\Test\\.appcelerator\\install\\8.0.0-master.10\\package\\node_modules\\.bin\\yarn.cmd\r\n2020-02-26T22:39:32.669Z appcd:default-plugins Found lerna: C:\\Users\\Test\\.appcelerator\\install\\8.0.0-master.10\\package\\node_modules\\.bin\\lerna.cmd\r\n2020-02-26T22:39:32.683Z appcd:default-plugins Found installed plugin @appcd/plugin-android@1.5.2\r\n2020-02-26T22:39:32.685Z appcd:default-plugins warn Plugin directory name mismatch: @appcd/plugin-android-2_0_1@2.0.1 found in @appcd/plugin-android, invalidating...\r\n2020-02-26T22:39:32.695Z appcd:default-plugins Found installed plugin @appcd/plugin-genymotion@1.6.1\r\n2020-02-26T22:39:32.697Z appcd:default-plugins Found installed plugin @appcd/plugin-jdk@1.6.1\r\n2020-02-26T22:39:32.698Z appcd:default-plugins warn Plugin directory name mismatch: @appcd/plugin-system-info-1_5_1@1.5.1 found in @appcd/plugin-system-info, invalidating...\r\n2020-02-26T22:39:32.705Z appcd:default-plugins Found installed plugin @appcd/plugin-system-info@2.0.0\r\n2020-02-26T22:39:32.706Z appcd:default-plugins Found installed plugin @appcd/plugin-titanium@1.8.1\r\n2020-02-26T22:39:32.707Z appcd:default-plugins warn Plugin directory name mismatch: @appcd/plugin-windows-1_5_2@1.5.2 found in @appcd/plugin-windows, invalidating...\r\n2020-02-26T22:39:32.714Z appcd:default-plugins Found installed plugin @appcd/plugin-windows@2.0.1\r\n2020-02-26T22:39:32.898Z appcd:default-plugins warn Skipping incompatible plugin: @appcd/plugin-ios@^1.5.2\r\n2020-02-26T22:39:32.903Z appcd:default-plugins Downloading @appcd/plugin-windows@1.5.2\r\n2020-02-26T22:39:32.907Z appcd:default-plugins warn Skipping incompatible plugin: @appcd/plugin-ios@^2.0.2\r\n2020-02-26T22:39:32.910Z appcd:default-plugins Downloading @appcd/plugin-android@2.0.1\r\n2020-02-26T22:39:32.913Z appcd:default-plugins Downloading @appcd/plugin-system-info@1.5.1\r\n2020-02-26T22:39:33.045Z appcd:default-plugins Writing plugins/package.json\r\n2020-02-26T22:39:33.049Z appcd:default-plugins Writing plugins/lerna.json\r\n2020-02-26T22:39:33.051Z appcd:default-plugins Plugins dir: C:\\Users\\Test\\.appcelerator\\appcd\\plugins\r\n2020-02-26T22:39:33.052Z appcd:default-plugins Executing: C:\\Users\\Test\\.appcelerator\\install\\8.0.0-master.10\\package\\node_modules\\.bin\\lerna.cmd bootstrap --no-progress\r\n2020-02-26T22:39:34.085Z appcd:default-plugins:lerna cli v3.20.2\r\n2020-02-26T22:39:34.112Z appcd:default-plugins:lerna versioning independent\r\n2020-02-26T22:39:34.200Z appcd:default-plugins:lerna bootstrap root only\r\n2020-02-26T22:39:34.249Z appcd:default-plugins:lerna 'yarn' is not recognized as an internal or external command,\r\n2020-02-26T22:39:34.251Z appcd:default-plugins:lerna operable program or batch file.\r\n2020-02-26T22:39:34.254Z appcd:default-plugins:lerna lerna ERR! yarn install --mutex network:42424 --non-interactive --emoji=false --ignore-engines --no-lockfile --no-progress --production exited 2 in 'root'\r\n2020-02-26T22:39:34.255Z appcd:default-plugins:lerna lerna ERR! yarn install --mutex network:42424 --non-interactive --emoji=false --ignore-engines --no-lockfile --no-progress --production exited 2 in 'root'\r\n2020-02-26T22:39:34.268Z appcd:default-plugins warn lerna exited with code 2\r\n{code}\r\n\r\nThis ticket may moot with the new plugin management command (DAEMON-311) and the upgrade to Yarn 2 (DAEMON-318).", "attachment": [], "flagged": false, "summary": "Lerna cannot find Yarn when installing default plugins on Windows", "creator": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "environment": null, "closedSprints": [ { "id": 1181, "state": "closed", "name": "2020 Sprint 5", "startDate": "2020-03-02T18:45:02.513Z", "endDate": "2020-03-13T18:45:00.000Z", "completeDate": "2020-03-13T16:42:04.632Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "454459", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "[~cbarber] is this an existing problem with appcd 3? This should probably block the CLI 8 RC?", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2020-02-27T10:06:17.000+0000", "updated": "2020-02-27T11:02:01.000+0000" }, { "id": "454461", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Possibly? I don't know. I haven't had time to reproduce yet. I suspect this may be an easy fix by injecting the path to yarn that we found into the PATH environment variable when we spawn lerna.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2020-02-27T14:45:52.000+0000", "updated": "2020-02-27T14:45:52.000+0000" }, { "id": "454462", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "I uninstalled yarn and I couldn't repro this, it seemed to resolve it just fine for me. Albeit I was on Node 12", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2020-02-27T14:49:50.000+0000", "updated": "2020-02-27T14:49:50.000+0000" }, { "id": "454491", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I was able to get this error using node {{10.13.0}} but when using node {{12.13.1}} everything seemed fine. ", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-03-02T12:34:34.000+0000", "updated": "2020-03-02T12:34:34.000+0000" }, { "id": "454554", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Yarn installs successfully and daemon commands run successfully.\r\nVerified on:\r\nOS: Win 10 Pro\r\nNode: 10.13.0\r\nAppc NPM: 5.0.0-4\r\nAppc CLI: 8.0.0-master.12\r\nDaemon: 3.2.0", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-03-04T22:48:08.000+0000", "updated": "2020-03-04T22:48:08.000+0000" }, { "id": "454919", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Reopening to change fix version.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2020-03-31T20:11:32.000+0000", "updated": "2020-03-31T20:11:32.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }