[TIMOB-12778] Ti CLI and Alloy update fails when ~/tmp is an existing file
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Not Our Bug |
Resolution Date | 2016-08-27T02:50:39.000+0000 |
Affected Version/s | Release 3.0.0 |
Fix Version/s | n/a |
Components | n/a |
Labels | SupportTeam |
Reporter | Daniel Sefton |
Assignee | Eric Merriman |
Created | 2013-02-15T23:23:49.000+0000 |
Updated | 2017-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.
This is all the customer has provided so far. Let me know if you guys need more info.
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.
I cannot reproduce with NPM 3. Must have been an NPM 1 bug.
Closing ticket with reference to the previous comments.