{ "id": "109800", "key": "TIMOB-12778", "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": [], "resolution": { "id": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2016-08-27T02:50:39.000+0000", "created": "2013-02-15T23:23:49.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "SupportTeam" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-24T18:58: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": [], "description": "*Error message*\r\n{code}Failed to install titanium. Please see the Studio log for more information.{code}\r\n\r\n*Workaround*\r\nDeleting the /Users/zpapp/tmp file fixed the problem.\r\n\r\n*Log*\r\n{code}!ENTRY com.appcelerator.titanium.nodejs.core 4 0 2013-02-14 08:54:01.493\r\n!MESSAGE (Build 3.0.1.201212181159) [ERROR] Failed to install titanium.\r\n\r\nnpm http GET https://registry.npmjs.org/titanium\r\nnpm http 304 https://registry.npmjs.org/titanium\r\nnpm ERR! Error: ENOTDIR, mkdir '/Users/zpapp/tmp/npm-21703/1360860841482-0.6634472410660237'\r\nnpm ERR! If you need help, you may report this log at:\r\nnpm ERR! \r\nnpm ERR! or email it to:\r\nnpm ERR! \r\n\r\nnpm ERR! System Darwin 11.4.2\r\nnpm ERR! command \"node\" \"/usr/local/bin/npm\" \"-g\" \"install\" \"titanium\"\r\nnpm ERR! cwd /Applications/Titanium Studio/TitaniumStudio.app/Contents/MacOS\r\nnpm ERR! node -v v0.8.8\r\nnpm ERR! npm -v 1.1.59\r\nnpm ERR! path /Users/zpapp/tmp/npm-21703/1360860841482-0.6634472410660237\r\nnpm ERR! code ENOTDIR\r\nnpm ERR! errno 27\r\nnpm ERR! \r\nnpm ERR! Additional logging details can be found in:\r\nnpm ERR! /Applications/Titanium Studio/TitaniumStudio.app/Contents/MacOS/npm-debug.log\r\nnpm ERR! not ok code 0\r\n\r\n!ENTRY com.appcelerator.titanium.nodejs.core 4 0 2013-02-14 08:54:02.398\r\n!MESSAGE (Build 3.0.1.201212181159) [ERROR] Failed to install alloy.\r\n\r\nnpm http GET https://registry.npmjs.org/alloy\r\nnpm http 304 https://registry.npmjs.org/alloy\r\nnpm ERR! Error: ENOTDIR, mkdir '/Users/zpapp/tmp/npm-21706/1360860842384-0.6748648227658123'\r\nnpm ERR! If you need help, you may report this log at:\r\nnpm ERR! \r\nnpm ERR! or email it to:\r\nnpm ERR! \r\n\r\nnpm ERR! System Darwin 11.4.2\r\nnpm ERR! command \"node\" \"/usr/local/bin/npm\" \"-g\" \"install\" \"alloy\"\r\nnpm ERR! cwd /Applications/Titanium Studio/TitaniumStudio.app/Contents/MacOS\r\nnpm ERR! node -v v0.8.8\r\nnpm ERR! npm -v 1.1.59\r\nnpm ERR! path /Users/zpapp/tmp/npm-21706/1360860842384-0.6748648227658123\r\nnpm ERR! code ENOTDIR\r\nnpm ERR! errno 27\r\nnpm ERR! \r\nnpm ERR! Additional logging details can be found in:\r\nnpm ERR! /Applications/Titanium Studio/TitaniumStudio.app/Contents/MacOS/npm-debug.log\r\nnpm ERR! not ok code 0\r\n\r\n!ENTRY com.appcelerator.titanium.update 4 4 2013-02-14 08:54:02.399\r\n!MESSAGE Error encountered during update\r\n!SUBENTRY 1 com.appcelerator.titanium.nodejs.core 4 0 2013-02-14 08:54:02.399\r\n!MESSAGE Failed to install titanium. Please see the Studio log for more information.\r\n!SUBENTRY 1 com.appcelerator.titanium.nodejs.core 4 0 2013-02-14 08:54:02.399\r\n!MESSAGE Failed to install alloy. Please see the Studio log for more information.{code}", "attachment": [], "flagged": false, "summary": "Ti CLI and Alloy update fails when ~/tmp is an existing file", "creator": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK 3.0\r\nOSX 10.7.5", "comment": { "comments": [ { "id": "238767", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is all the customer has provided so far. Let me know if you guys need more info.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-15T23:24:23.000+0000", "updated": "2013-02-15T23:24:23.000+0000" }, { "id": "238829", "author": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Running \"npm install -g titanium alloy\" from the command line when ~/tmp file already exists causes the same error, so this is more of a current requirement for how our npm packages are installed. Moving to platform.\r\n", "updateAuthor": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-18T17:16:18.000+0000", "updated": "2013-02-18T17:16:18.000+0000" }, { "id": "394551", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "I cannot reproduce with NPM 3. Must have been an NPM 1 bug.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-08-27T02:50:39.000+0000", "updated": "2016-08-27T02:50:39.000+0000" }, { "id": "415724", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket with reference to the previous comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-24T18:58:45.000+0000", "updated": "2017-03-24T18:58:45.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }