Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-12778] Ti CLI and Alloy update fails when ~/tmp is an existing file

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionNot Our Bug
Resolution Date2016-08-27T02:50:39.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sn/a
Componentsn/a
LabelsSupportTeam
ReporterDaniel Sefton
AssigneeEric Merriman
Created2013-02-15T23:23:49.000+0000
Updated2017-03-24T18:58:45.000+0000

Description

*Error message*
Failed to install titanium. Please see the Studio log for more information.
*Workaround* Deleting the /Users/zpapp/tmp file fixed the problem. *Log*
!ENTRY com.appcelerator.titanium.nodejs.core 4 0 2013-02-14 08:54:01.493
!MESSAGE (Build 3.0.1.201212181159) [ERROR]  Failed to install titanium.

npm http GET https://registry.npmjs.org/titanium
npm http 304 https://registry.npmjs.org/titanium
npm ERR! Error: ENOTDIR, mkdir '/Users/zpapp/tmp/npm-21703/1360860841482-0.6634472410660237'
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>;
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>

npm ERR! System Darwin 11.4.2
npm ERR! command "node" "/usr/local/bin/npm" "-g" "install" "titanium"
npm ERR! cwd /Applications/Titanium Studio/TitaniumStudio.app/Contents/MacOS
npm ERR! node -v v0.8.8
npm ERR! npm -v 1.1.59
npm ERR! path /Users/zpapp/tmp/npm-21703/1360860841482-0.6634472410660237
npm ERR! code ENOTDIR
npm ERR! errno 27
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /Applications/Titanium Studio/TitaniumStudio.app/Contents/MacOS/npm-debug.log
npm ERR! not ok code 0

!ENTRY com.appcelerator.titanium.nodejs.core 4 0 2013-02-14 08:54:02.398
!MESSAGE (Build 3.0.1.201212181159) [ERROR]  Failed to install alloy.

npm http GET https://registry.npmjs.org/alloy
npm http 304 https://registry.npmjs.org/alloy
npm ERR! Error: ENOTDIR, mkdir '/Users/zpapp/tmp/npm-21706/1360860842384-0.6748648227658123'
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>;
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>

npm ERR! System Darwin 11.4.2
npm ERR! command "node" "/usr/local/bin/npm" "-g" "install" "alloy"
npm ERR! cwd /Applications/Titanium Studio/TitaniumStudio.app/Contents/MacOS
npm ERR! node -v v0.8.8
npm ERR! npm -v 1.1.59
npm ERR! path /Users/zpapp/tmp/npm-21706/1360860842384-0.6748648227658123
npm ERR! code ENOTDIR
npm ERR! errno 27
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /Applications/Titanium Studio/TitaniumStudio.app/Contents/MacOS/npm-debug.log
npm ERR! not ok code 0

!ENTRY com.appcelerator.titanium.update 4 4 2013-02-14 08:54:02.399
!MESSAGE Error encountered during update
!SUBENTRY 1 com.appcelerator.titanium.nodejs.core 4 0 2013-02-14 08:54:02.399
!MESSAGE Failed to install titanium. Please see the Studio log for more information.
!SUBENTRY 1 com.appcelerator.titanium.nodejs.core 4 0 2013-02-14 08:54:02.399
!MESSAGE Failed to install alloy. Please see the Studio log for more information.

Comments

  1. Daniel Sefton 2013-02-15

    This is all the customer has provided so far. Let me know if you guys need more info.
  2. Michael Xia 2013-02-18

    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.
  3. Chris Barber 2016-08-27

    I cannot reproduce with NPM 3. Must have been an NPM 1 bug.
  4. Lee Morris 2017-03-24

    Closing ticket with reference to the previous comments.

JSON Source