{ "id": "175542", "key": "TIMOB-28137", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "21107", "name": "titanium 5.2.5", "archived": false, "released": true, "releaseDate": "2020-09-15" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2020-09-15T17:35:27.000+0000", "created": "2020-09-15T15:57:18.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [ { "id": "21104", "name": "titanium 5.2.4", "archived": false, "released": true, "releaseDate": "2020-09-14" } ], "issuelinks": [], "assignee": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "updated": "2020-09-15T17:42:15.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": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "h5.Description\r\n\r\nWhen installing an SDK if a module has symlinks and that version of the module already existed on the system we will get the below error. I think we need to check if the file exists and either remove it first, or not create the symlink.\r\n\r\n{code}\r\nError: EEXIST: file already exists, symlink 'Versions/Current/Resources' -> '/Users/awam/Library/Application Support/Titanium/modules/iphone/ti.applesignin/2.0.0/TiApplesignin.xcframework/ios-arm64_x86_64-maccatalyst/TiApplesignin.framework/Resources'\r\n at Object.symlinkSync (fs.js:909:3)\r\n at ReadStream.readStream.on (/Users/awam/git/titanium/node_modules/node-appc/lib/zip.js:94:11)\r\n at ReadStream.emit (events.js:198:13)\r\n at endReadableNT (_stream_readable.js:1145:12)\r\n at process._tickCallback (internal/process/next_tick.js:63:19)\r\n{code}\r\n\r\nh5.Steps to reproduce\r\n\r\n1. Install the latest SDK ti sdk install -b master -d\r\n2. Remove that SDK\r\n3. Install it again ti sdk install -b master -d\r\n\r\nh5.Actual\r\n\r\nAbove error\r\n\r\nh5.Expected \r\n\r\nNo error", "attachment": [], "flagged": false, "summary": "CLI: EEXIST error when reinstalling an SDK/module", "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, "closedSprints": [ { "id": 1206, "state": "closed", "name": "2020 Sprint 19", "startDate": "2020-09-14T20:01:00.000Z", "endDate": "2020-09-25T20:01:00.000Z", "completeDate": "2020-09-28T15:30:19.875Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "456896", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "https://github.com/appcelerator/node-appc/pull/285", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2020-09-15T16:08:43.000+0000", "updated": "2020-09-15T16:08:43.000+0000" }, { "id": "456897", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix with CLI 8.1.1-master.9\r\n", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-09-15T17:34:54.000+0000", "updated": "2020-09-15T17:34:54.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }