{ "id": "103290", "key": "TIMOB-11450", "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": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "14167", "description": "2012 Sprint 21 JS", "name": "2012 Sprint 21 JS", "archived": true, "released": true, "releaseDate": "2012-10-22" }, { "id": "14273", "description": "2012 Sprint 21", "name": "2012 Sprint 21", "archived": true, "released": true, "releaseDate": "2012-10-22" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-10-13T20:50:50.000+0000", "created": "2012-10-13T02:15:48.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [ { "id": "21970", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "102994", "key": "TIMOB-11332", "fields": { "summary": "Manifest.json file does not correctly list platforms given the distribution target", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "21971", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "102605", "key": "TIMOB-11251", "fields": { "summary": "OSX Titanium SDK GA contains win32 folder with bat files", "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": "Low", "id": "4" }, "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": "2017-03-08T00:46:45.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": "When scons runs npm, it will fail if it can't write to the npm directory. This might be caused if installing the Titanium CLI first using sudo which might write lock files to the real user's npm directory as root.\r\n\r\n{code}\r\n[ERROR] Failed to npm install dependencies\r\n\r\nnpm WARN package.json titanium-mobile-deps@3.1.0 No README.md file found!\r\nnpm ERR! Error: EACCES, open '/Users/vjoshi/.npm/463e1c03-async-0-1-x.lock'\r\nnpm ERR! { [Error: EACCES, open '/Users/vjoshi/.npm/463e1c03-async-0-1-x.lock']\r\nnpm ERR! errno: 3,\r\nnpm ERR! code: 'EACCES',\r\nnpm ERR! path: '/Users/vjoshi/.npm/463e1c03-async-0-1-x.lock' }\r\nnpm ERR! \r\nnpm ERR! Please try running this command again as root/Administrator.\r\n\r\nnpm ERR! System Darwin 11.4.2\r\nnpm ERR! command \"node\" \"/usr/local/bin/npm\" \"install\"\r\nnpm ERR! cwd /Users/vjoshi/Documents/titanium_mobile/support\r\nnpm ERR! node -v v0.8.12\r\nnpm ERR! npm -v 1.1.63\r\nnpm ERR! path /Users/vjoshi/.npm/463e1c03-async-0-1-x.lock\r\nnpm ERR! code EACCES\r\nnpm ERR! errno 3\r\nnpm ERR! stack Error: EACCES, open '/Users/vjoshi/.npm/463e1c03-async-0-1-x.lock'\r\nnpm ERR! \r\nnpm ERR! Additional logging details can be found in:\r\nnpm ERR! /Users/vjoshi/Documents/titanium_mobile/support/npm-debug.log\r\nnpm ERR! not ok code 0\r\n\r\nscons: *** [dummy-sdk-target] Explicit exit, status 1\r\nscons: building terminated because of errors.\r\n{code}\r\n\r\nThis might be as simple as checking if the files are writeable and if not erroring.", "attachment": [], "flagged": false, "summary": "CLI: Scons fails if no write access to npm directory", "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, "comment": { "comments": [ { "id": "223381", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Master pull request: https://github.com/appcelerator/titanium_mobile/pull/3204\n3.0.x pull request: https://github.com/appcelerator/titanium_mobile/pull/3205", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2012-10-13T11:02:34.000+0000", "updated": "2012-10-13T11:02:34.000+0000" }, { "id": "409779", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as resolved.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-08T00:46:45.000+0000", "updated": "2017-03-08T00:46:45.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }