Project: appceleratorstudio
Issue TISTUD-3977: Node.js: update to Node.js 0.8.22 with NPM 1.2.14
Node.js: update to Node.js 0.8.22 with NPM 1.2.14. Due to TIMOB-13178. Node.js Docs: http://nodejs.org/ http://nodejs.org/dist/ http://nodejs.org/dist/v0.8.22/ http://nodejs.org/dist/v0.8.22/docs/ I was able to install all node packages and run in Titanium SDK 3.0.2 and 3.1.X using Node.js 0.8.22 and NPM 1.2.14: titanium {code} Last login: Thu Mar 28 10:08:56 on ttys000 DHydeMBP:~ dhyde$ npm -v 1.2.14 DHydeMBP:~ dhyde$ sudo npm install -g titanium@3.0.25-alpha npm http GET https://registry.npmjs.org/titanium/3.0.25-alpha npm http 304 https://registry.npmjs.org/titanium/3.0.25-alpha npm http GET https://registry.npmjs.org/colors npm http GET https://registry.npmjs.org/async npm http GET https://registry.npmjs.org/longjohn npm http GET https://registry.npmjs.org/node-appc/0.1.29-alpha npm http GET https://registry.npmjs.org/prompt npm http GET https://registry.npmjs.org/revalidator npm http GET https://registry.npmjs.org/semver npm http GET https://registry.npmjs.org/sprintf npm http GET https://registry.npmjs.org/temp/0.4.0 npm http GET https://registry.npmjs.org/request npm http GET https://registry.npmjs.org/wrench npm http GET https://registry.npmjs.org/winston npm http 304 https://registry.npmjs.org/colors npm http 304 https://registry.npmjs.org/async npm http 304 https://registry.npmjs.org/longjohn npm http 304 https://registry.npmjs.org/node-appc/0.1.29-alpha npm http 304 https://registry.npmjs.org/prompt npm http 304 https://registry.npmjs.org/revalidator npm http 304 https://registry.npmjs.org/semver npm http 304 https://registry.npmjs.org/temp/0.4.0 npm http 304 https://registry.npmjs.org/sprintf npm http 304 https://registry.npmjs.org/request npm http 304 https://registry.npmjs.org/wrench npm http 304 https://registry.npmjs.org/winston npm http GET https://registry.npmjs.org/pkginfo npm http GET https://registry.npmjs.org/read npm http GET https://registry.npmjs.org/utile npm http GET https://registry.npmjs.org/cycle npm http GET https://registry.npmjs.org/eyes npm http GET https://registry.npmjs.org/pkginfo npm http GET https://registry.npmjs.org/stack-trace npm http GET https://registry.npmjs.org/node-uuid npm http GET https://registry.npmjs.org/uglify-js npm http GET https://registry.npmjs.org/xmldom/0.1.11 npm http 304 https://registry.npmjs.org/read npm http 304 https://registry.npmjs.org/pkginfo npm http 304 https://registry.npmjs.org/cycle npm http 304 https://registry.npmjs.org/utile npm http 304 https://registry.npmjs.org/eyes npm http GET https://registry.npmjs.org/mute-stream npm http 304 https://registry.npmjs.org/pkginfo npm http 304 https://registry.npmjs.org/stack-trace npm http 304 https://registry.npmjs.org/node-uuid npm http 304 https://registry.npmjs.org/uglify-js npm http 304 https://registry.npmjs.org/xmldom/0.1.11 npm http GET https://registry.npmjs.org/deep-equal npm http GET https://registry.npmjs.org/i npm http GET https://registry.npmjs.org/ncp npm http GET https://registry.npmjs.org/mkdirp npm http GET https://registry.npmjs.org/rimraf npm http 304 https://registry.npmjs.org/mute-stream npm http 304 https://registry.npmjs.org/rimraf npm http 304 https://registry.npmjs.org/mkdirp npm http 304 https://registry.npmjs.org/ncp npm http 304 https://registry.npmjs.org/i npm http 304 https://registry.npmjs.org/deep-equal /usr/local/bin/titanium -> /usr/local/lib/node_modules/titanium/bin/titanium /usr/local/bin/ti -> /usr/local/lib/node_modules/titanium/bin/titanium titanium@3.0.25-alpha /usr/local/lib/node_modules/titanium ├── sprintf@0.1.1 ├── temp@0.4.0 ├── colors@0.6.0-1 ├── longjohn@0.2.0 ├── wrench@1.3.9 ├── async@0.1.22 ├── semver@1.1.4 ├── revalidator@0.1.5 ├── request@2.9.203 ├── winston@0.6.2 (cycle@1.0.2, eyes@0.1.8, stack-trace@0.0.6, pkginfo@0.2.3) ├── node-appc@0.1.29-alpha (node-uuid@1.3.3, uglify-js@1.3.4, xmldom@0.1.11) └── prompt@0.2.9 (pkginfo@0.3.0, read@1.0.4, utile@0.1.7) DHydeMBP:~ dhyde$ ti Titanium Command-Line Interface, CLI version 3.0.25-alpha, Titanium SDK version 3.1.0.v20130327135307 Copyright (c) 2012-2013, Appcelerator, Inc. All Rights Reserved. Please report bugs to http://jira.appcelerator.org/ Usage: titanium [options] Commands: build builds a project clean removes previous build directories config get and set config options create creates a new mobile application or module help displays this help screen info display development environment information login logs into the Appcelerator network logout logs out of the Appcelerator network module manages installed Titanium Modules plugin manages installed Titanium Plugins project get and set tiapp.xml settings sdk manages installed Titanium SDKs setup run the setup wizard status displays session information Global Flags: --banner, --no-banner displays Titanium version banner [default: true] --colors, --no-colors use colors in the terminal [default: true] -h, --help displays help --prompt, --no-prompt prompt for missing options [default: true] -q, --quiet suppress all output [default: false] -v, --version displays the current version {code} alloy {code} DHydeMBP:~ dhyde$ sudo npm install -g alloy@1.1.0-alpha npm http GET https://registry.npmjs.org/alloy/1.1.0-alpha npm http 200 https://registry.npmjs.org/alloy/1.1.0-alpha npm http GET https://registry.npmjs.org/alloy/-/alloy-1.1.0-alpha.tgz npm http 200 https://registry.npmjs.org/alloy/-/alloy-1.1.0-alpha.tgz npm http GET https://registry.npmjs.org/colors/0.6.0-1 npm http GET https://registry.npmjs.org/pkginfo/0.2.2 npm http GET https://registry.npmjs.org/xmldom/0.1.13 npm http GET https://registry.npmjs.org/stripcolorcodes/0.1.0 npm http GET https://registry.npmjs.org/jsonlint/1.5.1 npm http GET https://registry.npmjs.org/uglify-js/2.2.5 npm http GET https://registry.npmjs.org/source-map/0.1.9 npm http GET https://registry.npmjs.org/jake/0.5.9 npm http GET https://registry.npmjs.org/commander/0.6.1 npm http GET https://registry.npmjs.org/wrench/1.3.9 npm http 304 https://registry.npmjs.org/colors/0.6.0-1 npm http 304 https://registry.npmjs.org/pkginfo/0.2.2 npm http 200 https://registry.npmjs.org/jsonlint/1.5.1 npm http 200 https://registry.npmjs.org/stripcolorcodes/0.1.0 npm http GET https://registry.npmjs.org/jsonlint/-/jsonlint-1.5.1.tgz npm http GET https://registry.npmjs.org/stripcolorcodes/-/stripcolorcodes-0.1.0.tgz npm http 200 https://registry.npmjs.org/xmldom/0.1.13 npm http GET https://registry.npmjs.org/xmldom/-/xmldom-0.1.13.tgz npm http 200 https://registry.npmjs.org/source-map/0.1.9 npm http GET https://registry.npmjs.org/source-map/-/source-map-0.1.9.tgz npm http 304 https://registry.npmjs.org/commander/0.6.1 npm http 200 https://registry.npmjs.org/uglify-js/2.2.5 npm http GET https://registry.npmjs.org/uglify-js/-/uglify-js-2.2.5.tgz npm http 200 https://registry.npmjs.org/stripcolorcodes/-/stripcolorcodes-0.1.0.tgz npm http 200 https://registry.npmjs.org/jsonlint/-/jsonlint-1.5.1.tgz npm http 200 https://registry.npmjs.org/xmldom/-/xmldom-0.1.13.tgz npm http 200 https://registry.npmjs.org/wrench/1.3.9 npm http GET https://registry.npmjs.org/wrench/-/wrench-1.3.9.tgz npm http 200 https://registry.npmjs.org/jake/0.5.9 npm http GET https://registry.npmjs.org/jake/-/jake-0.5.9.tgz npm http 200 https://registry.npmjs.org/source-map/-/source-map-0.1.9.tgz npm http 200 https://registry.npmjs.org/uglify-js/-/uglify-js-2.2.5.tgz npm http 200 https://registry.npmjs.org/wrench/-/wrench-1.3.9.tgz npm http 200 https://registry.npmjs.org/jake/-/jake-0.5.9.tgz npm http GET https://registry.npmjs.org/amdefine npm http GET https://registry.npmjs.org/minimatch npm http GET https://registry.npmjs.org/utilities npm http GET https://registry.npmjs.org/nomnom npm http GET https://registry.npmjs.org/JSV npm http GET https://registry.npmjs.org/optimist npm http 200 https://registry.npmjs.org/amdefine npm http GET https://registry.npmjs.org/amdefine/-/amdefine-0.0.4.tgz npm http 200 https://registry.npmjs.org/utilities npm http GET https://registry.npmjs.org/utilities/-/utilities-0.0.22.tgz npm http 200 https://registry.npmjs.org/amdefine/-/amdefine-0.0.4.tgz npm http 200 https://registry.npmjs.org/nomnom npm http GET https://registry.npmjs.org/nomnom/-/nomnom-1.6.0.tgz npm http 200 https://registry.npmjs.org/JSV npm http GET https://registry.npmjs.org/JSV/-/JSV-4.0.2.tgz npm http 200 https://registry.npmjs.org/utilities/-/utilities-0.0.22.tgz npm http 200 https://registry.npmjs.org/optimist npm http 200 https://registry.npmjs.org/nomnom/-/nomnom-1.6.0.tgz npm http GET https://registry.npmjs.org/optimist/-/optimist-0.3.5.tgz npm http 200 https://registry.npmjs.org/minimatch npm http GET https://registry.npmjs.org/minimatch/-/minimatch-0.2.11.tgz npm http 200 https://registry.npmjs.org/JSV/-/JSV-4.0.2.tgz npm http 200 https://registry.npmjs.org/optimist/-/optimist-0.3.5.tgz npm http GET https://registry.npmjs.org/wordwrap npm http 200 https://registry.npmjs.org/minimatch/-/minimatch-0.2.11.tgz npm http GET https://registry.npmjs.org/lru-cache npm http GET https://registry.npmjs.org/sigmund npm http 200 https://registry.npmjs.org/wordwrap npm http GET https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.2.tgz npm http 200 https://registry.npmjs.org/sigmund npm http GET https://registry.npmjs.org/sigmund/-/sigmund-1.0.0.tgz npm http 200 https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.2.tgz npm http 200 https://registry.npmjs.org/lru-cache npm http GET https://registry.npmjs.org/lru-cache/-/lru-cache-2.3.0.tgz npm http 200 https://registry.npmjs.org/sigmund/-/sigmund-1.0.0.tgz npm http 200 https://registry.npmjs.org/lru-cache/-/lru-cache-2.3.0.tgz npm http GET https://registry.npmjs.org/underscore npm http GET https://registry.npmjs.org/colors npm http 304 https://registry.npmjs.org/colors npm http GET https://registry.npmjs.org/colors/-/colors-0.5.1.tgz npm http 200 https://registry.npmjs.org/underscore npm http GET https://registry.npmjs.org/underscore/-/underscore-1.4.4.tgz npm http 200 https://registry.npmjs.org/colors/-/colors-0.5.1.tgz npm http 200 https://registry.npmjs.org/underscore/-/underscore-1.4.4.tgz /usr/local/bin/alloy -> /usr/local/lib/node_modules/alloy/bin/alloy alloy@1.1.0-alpha /usr/local/lib/node_modules/alloy ├── stripcolorcodes@0.1.0 ├── colors@0.6.0-1 ├── commander@0.6.1 ├── wrench@1.3.9 ├── pkginfo@0.2.2 ├── xmldom@0.1.13 ├── source-map@0.1.9 (amdefine@0.0.4) ├── uglify-js@2.2.5 (optimist@0.3.5) ├── jake@0.5.9 (utilities@0.0.22, minimatch@0.2.11) └── jsonlint@1.5.1 (JSV@4.0.2, nomnom@1.6.0) {code} acs {code} DHydeMBP:~ dhyde$ npm -v 1.2.14 DHydeMBP:~ dhyde$ sudo npm install -g acs npm http GET https://registry.npmjs.org/acs npm http 304 https://registry.npmjs.org/acs npm http GET https://registry.npmjs.org/commander/0.6.1 npm http GET https://registry.npmjs.org/colors/0.6.0-1 npm http GET https://github.com/appcelerator/cocoafish-node-sdk/tarball/0.1.6 npm http GET https://registry.npmjs.org/connect/2.3.5 npm http GET https://registry.npmjs.org/connect-mongo/0.1.9 npm http GET https://registry.npmjs.org/ejs/0.8.0 npm http GET https://registry.npmjs.org/express/3.0.0 npm http GET https://registry.npmjs.org/fstream/0.1.18 npm http GET https://registry.npmjs.org/longjohn/0.0.3 npm http GET https://registry.npmjs.org/log4js/0.5.1 npm http GET https://registry.npmjs.org/pkginfo/0.2.2 npm http GET https://registry.npmjs.org/mkdirp/0.3.3 npm http GET https://registry.npmjs.org/node-uuid/1.3.3 npm http GET https://registry.npmjs.org/temp/0.4.0 npm http GET https://registry.npmjs.org/tar/0.1.13 npm http GET https://registry.npmjs.org/socket.io/0.9.10 npm http GET https://registry.npmjs.org/wrench/1.3.9 npm http GET https://registry.npmjs.org/uglify-js/1.3.2 npm http GET https://registry.npmjs.org/underscore/1.3.3 npm http GET https://registry.npmjs.org/esprima/0.9.9 npm http GET https://registry.npmjs.org/string/1.1.0 npm http GET https://registry.npmjs.org/npm/1.2.1 npm http GET https://registry.npmjs.org/jade/0.28.1 npm http GET https://registry.npmjs.org/request/2.14.0 npm http 304 https://registry.npmjs.org/commander/0.6.1 npm http 304 https://registry.npmjs.org/colors/0.6.0-1 npm http 304 https://registry.npmjs.org/connect/2.3.5 npm WARN package.json connect@2.3.5 No README.md file found! npm http 304 https://registry.npmjs.org/ejs/0.8.0 npm http 304 https://registry.npmjs.org/connect-mongo/0.1.9 npm WARN package.json connect-mongo@0.1.9 No README.md file found! npm http 304 https://registry.npmjs.org/express/3.0.0 npm http 304 https://registry.npmjs.org/longjohn/0.0.3 npm http 304 https://registry.npmjs.org/fstream/0.1.18 npm http 304 https://registry.npmjs.org/pkginfo/0.2.2 npm http 304 https://registry.npmjs.org/log4js/0.5.1 npm http 304 https://registry.npmjs.org/socket.io/0.9.10 npm http 304 https://registry.npmjs.org/mkdirp/0.3.3 npm http 304 https://registry.npmjs.org/tar/0.1.13 npm http 304 https://registry.npmjs.org/node-uuid/1.3.3 npm http 304 https://registry.npmjs.org/temp/0.4.0 npm http 304 https://registry.npmjs.org/wrench/1.3.9 npm http 304 https://registry.npmjs.org/uglify-js/1.3.2 npm http 304 https://registry.npmjs.org/underscore/1.3.3 npm http 200 https://registry.npmjs.org/esprima/0.9.9 npm http GET https://registry.npmjs.org/esprima/-/esprima-0.9.9.tgz npm http 304 https://registry.npmjs.org/string/1.1.0 npm http 304 https://registry.npmjs.org/npm/1.2.1 npm http 304 https://registry.npmjs.org/request/2.14.0 npm http 304 https://registry.npmjs.org/jade/0.28.1 npm http 200 https://registry.npmjs.org/esprima/-/esprima-0.9.9.tgz npm http 200 https://github.com/appcelerator/cocoafish-node-sdk/tarball/0.1.6 npm http GET https://registry.npmjs.org/rimraf npm http GET https://registry.npmjs.org/inherits npm http GET https://registry.npmjs.org/inherits npm http GET https://registry.npmjs.org/range-parser/0.0.4 npm http GET https://registry.npmjs.org/block-stream npm http GET https://registry.npmjs.org/graceful-fs npm http GET https://registry.npmjs.org/connect/2.6.0 npm http GET https://registry.npmjs.org/cookie/0.0.4 npm http GET https://registry.npmjs.org/mongodb npm http GET https://registry.npmjs.org/crc/0.2.0 npm http GET https://registry.npmjs.org/methods/0.0.1 npm http GET https://registry.npmjs.org/fresh/0.1.0 npm http GET https://registry.npmjs.org/send/0.1.0 npm http GET https://registry.npmjs.org/debug npm http GET https://registry.npmjs.org/socket.io-client/0.9.10 npm http GET https://registry.npmjs.org/policyfile/0.0.4 npm http GET https://registry.npmjs.org/async/0.1.15 npm http GET https://registry.npmjs.org/coffee-script npm http GET https://registry.npmjs.org/redis/0.7.2 npm http GET https://registry.npmjs.org/fresh/0.0.1 npm http GET https://registry.npmjs.org/qs/0.4.2 npm http GET https://registry.npmjs.org/formidable/1.0.11 npm http GET https://registry.npmjs.org/mime/1.2.4 npm http GET https://registry.npmjs.org/bytes/0.0.1 npm http 304 https://registry.npmjs.org/inherits npm http 304 https://registry.npmjs.org/block-stream npm http 304 https://registry.npmjs.org/inherits npm http 304 https://registry.npmjs.org/rimraf npm http 304 https://registry.npmjs.org/range-parser/0.0.4 npm http 304 https://registry.npmjs.org/connect/2.6.0 npm http 304 https://registry.npmjs.org/graceful-fs npm http 304 https://registry.npmjs.org/cookie/0.0.4 npm http 304 https://registry.npmjs.org/mongodb npm http 304 https://registry.npmjs.org/crc/0.2.0 npm WARN package.json mongodb@0.9.9-8 No README.md file found! npm http 304 https://registry.npmjs.org/fresh/0.1.0 npm http 304 https://registry.npmjs.org/methods/0.0.1 npm WARN package.json methods@0.0.1 No README.md file found! npm http 304 https://registry.npmjs.org/send/0.1.0 npm http 304 https://registry.npmjs.org/debug npm http 304 https://registry.npmjs.org/socket.io-client/0.9.10 npm http 304 https://registry.npmjs.org/redis/0.7.2 npm http 304 https://registry.npmjs.org/coffee-script npm http 304 https://registry.npmjs.org/async/0.1.15 npm http 304 https://registry.npmjs.org/policyfile/0.0.4 npm http GET https://registry.npmjs.org/mime/1.2.6 npm http 200 https://registry.npmjs.org/mime/1.2.4 npm http 304 https://registry.npmjs.org/bytes/0.0.1 npm http 304 https://registry.npmjs.org/qs/0.4.2 npm http 304 https://registry.npmjs.org/formidable/1.0.11 npm http 304 https://registry.npmjs.org/fresh/0.0.1 npm http GET https://registry.npmjs.org/mime/-/mime-1.2.4.tgz npm http GET https://registry.npmjs.org/qs/0.5.1 npm http GET https://registry.npmjs.org/hiredis npm http GET https://registry.npmjs.org/bytes/0.1.0 npm http GET https://registry.npmjs.org/pause/0.0.1 npm http GET https://registry.npmjs.org/send/0.0.4 npm http 200 https://registry.npmjs.org/mime/1.2.6 npm http GET https://registry.npmjs.org/mime/-/mime-1.2.6.tgz npm http 304 https://registry.npmjs.org/pause/0.0.1 npm http GET https://registry.npmjs.org/bson/0.0.4 npm http 304 https://registry.npmjs.org/send/0.0.4 npm http GET https://registry.npmjs.org/uglify-js/1.2.5 npm http GET https://registry.npmjs.org/xmlhttprequest/1.4.2 npm http GET https://registry.npmjs.org/ws npm http GET https://registry.npmjs.org/active-x-obfuscator/0.0.1 npm http 304 https://registry.npmjs.org/hiredis npm http 200 https://registry.npmjs.org/mime/-/mime-1.2.4.tgz npm http 304 https://registry.npmjs.org/qs/0.5.1 npm http 304 https://registry.npmjs.org/bytes/0.1.0 npm http 200 https://registry.npmjs.org/mime/-/mime-1.2.6.tgz npm http 304 https://registry.npmjs.org/xmlhttprequest/1.4.2 npm http 304 https://registry.npmjs.org/uglify-js/1.2.5 npm http 304 https://registry.npmjs.org/bson/0.0.4 npm WARN package.json bson@0.0.4 No README.md file found! npm http 304 https://registry.npmjs.org/ws npm http 304 https://registry.npmjs.org/active-x-obfuscator/0.0.1 npm http GET https://registry.npmjs.org/bindings npm http GET https://registry.npmjs.org/zeparser/0.0.5 npm http GET https://registry.npmjs.org/tinycolor npm http GET https://registry.npmjs.org/options > bson@0.0.4 install /usr/local/lib/node_modules/acs/node_modules/connect-mongo/node_modules/mongodb/node_modules/bson > node install.js ================================================================================ = = = To install with C++ bson parser do = = = ================================================================================ npm http 304 https://registry.npmjs.org/bindings > hiredis@0.1.15 install /usr/local/lib/node_modules/acs/node_modules/socket.io/node_modules/redis/node_modules/hiredis > node-gyp rebuild npm http 304 https://registry.npmjs.org/zeparser/0.0.5 npm http 304 https://registry.npmjs.org/tinycolor npm http 304 https://registry.npmjs.org/options > ws@0.4.25 install /usr/local/lib/node_modules/acs/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws > (node-gyp rebuild 2> builderror.log) || (exit 0) gyp WARN EACCES user "root" does not have permission to access the dev dir "/Users/dhyde/.node-gyp/0.8.22" gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/local/lib/node_modules/acs/node_modules/socket.io/node_modules/redis/node_modules/hiredis/.node-gyp" gyp http GET http://nodejs.org/dist/v0.8.22/node-v0.8.22.tar.gz gyp http 200 http://nodejs.org/dist/v0.8.22/node-v0.8.22.tar.gz CXX(target) Release/obj.target/bufferutil/src/bufferutil.o SOLINK_MODULE(target) Releas...
Story points: 3