omorandi/TiInspector

Cannot install via npm

sdobz opened this issue · 1 comments

I don't know if this is a code or environment issue, but

npm install -g ti-inspector

fails to install with a bunch of ENOENT errors on OSX with npm installed via homebrew.

npm install -g ti-inspector
npm http GET https://registry.npmjs.org/ti-inspector
npm http 304 https://registry.npmjs.org/ti-inspector
npm http GET https://registry.npmjs.org/underscore
npm http GET https://registry.npmjs.org/express
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/xml2js
npm http GET https://registry.npmjs.org/websocket
npm http GET https://registry.npmjs.org/jade
npm http GET https://registry.npmjs.org/winston
npm http GET https://registry.npmjs.org/walk
npm http 304 https://registry.npmjs.org/async
npm http 304 https://registry.npmjs.org/xml2js
npm http 304 https://registry.npmjs.org/websocket
npm http 304 https://registry.npmjs.org/jade
npm http 304 https://registry.npmjs.org/winston
npm http 304 https://registry.npmjs.org/walk
npm http 304 https://registry.npmjs.org/underscore
npm http 304 https://registry.npmjs.org/express
npm http GET https://registry.npmjs.org/forEachAsync
npm http GET https://registry.npmjs.org/sax
npm http 304 https://registry.npmjs.org/forEachAsync
npm http 304 https://registry.npmjs.org/sax
npm http GET https://registry.npmjs.org/commander
npm http GET https://registry.npmjs.org/buffer-crc32
npm http GET https://registry.npmjs.org/connect
npm http GET https://registry.npmjs.org/escape-html
npm http GET https://registry.npmjs.org/methods
npm http GET https://registry.npmjs.org/mkdirp
npm http GET https://registry.npmjs.org/range-parser
npm http GET https://registry.npmjs.org/send
npm http GET https://registry.npmjs.org/cookie
npm http GET https://registry.npmjs.org/fresh
npm http GET https://registry.npmjs.org/debug
npm http GET https://registry.npmjs.org/cookie-signature
npm http GET https://registry.npmjs.org/vary
npm http GET https://registry.npmjs.org/merge-descriptors
npm http GET https://registry.npmjs.org/parseurl
npm http GET https://registry.npmjs.org/proxy-addr
npm http GET https://registry.npmjs.org/sequence
npm http 304 https://registry.npmjs.org/commander
npm http 304 https://registry.npmjs.org/escape-html
npm http 304 https://registry.npmjs.org/mkdirp
npm http 304 https://registry.npmjs.org/buffer-crc32
npm http 304 https://registry.npmjs.org/methods
npm http 304 https://registry.npmjs.org/range-parser

> websocket@1.0.8 install /usr/local/lib/node_modules/ti-inspector/node_modules/websocket
> node install.js

[websocket v1.0.8] Attempting to compile native extensions.










[websocket v1.0.8]
    Native code compile failed!!
    Please note that this module DOES NOT REQUIRE the native components
    and will still work without them, though not quite as efficiently.

    On Windows, native extensions require Visual Studio and Python.
    On Unix, native extensions require Python, make and a C++ compiler.
    Start npm with --websocket:verbose to show compilation output (if any).
npm http 304 https://registry.npmjs.org/connect
npm http 304 https://registry.npmjs.org/fresh
npm http 304 https://registry.npmjs.org/debug
npm http 304 https://registry.npmjs.org/send
npm http 304 https://registry.npmjs.org/cookie
npm http 304 https://registry.npmjs.org/vary
npm http 304 https://registry.npmjs.org/merge-descriptors
npm http 304 https://registry.npmjs.org/cookie-signature
npm http 304 https://registry.npmjs.org/sequence
npm http 304 https://registry.npmjs.org/parseurl
npm http 304 https://registry.npmjs.org/proxy-addr
npm http GET https://registry.npmjs.org/ipaddr.js
npm http GET https://registry.npmjs.org/mime
npm http GET https://registry.npmjs.org/finished
npm http GET https://registry.npmjs.org/keypress
npm http GET https://registry.npmjs.org/ms
npm http GET https://registry.npmjs.org/colors
npm http GET https://registry.npmjs.org/pkginfo
npm http GET https://registry.npmjs.org/eyes
npm http GET https://registry.npmjs.org/request
npm http GET https://registry.npmjs.org/stack-trace
npm http 304 https://registry.npmjs.org/mime
npm http 304 https://registry.npmjs.org/finished
npm http GET https://registry.npmjs.org/cycle
npm http 304 https://registry.npmjs.org/ms
npm http 304 https://registry.npmjs.org/pkginfo
npm http 304 https://registry.npmjs.org/eyes
npm http 304 https://registry.npmjs.org/keypress
npm http 304 https://registry.npmjs.org/request
npm http 304 https://registry.npmjs.org/stack-trace
npm http 304 https://registry.npmjs.org/cycle
npm http 304 https://registry.npmjs.org/ipaddr.js
npm http 304 https://registry.npmjs.org/colors
npm http GET https://registry.npmjs.org/minimist
npm http 200 https://registry.npmjs.org/minimist
npm http GET https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz
npm http 200 https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz
npm http GET https://registry.npmjs.org/body-parser
npm http GET https://registry.npmjs.org/bytes
npm http GET https://registry.npmjs.org/compression
npm http GET https://registry.npmjs.org/connect-timeout
npm http GET https://registry.npmjs.org/csurf
npm http GET https://registry.npmjs.org/errorhandler
npm http GET https://registry.npmjs.org/basic-auth-connect
npm http GET https://registry.npmjs.org/express-session
npm http GET https://registry.npmjs.org/cookie-parser
npm http GET https://registry.npmjs.org/method-override
npm http GET https://registry.npmjs.org/morgan
npm http GET https://registry.npmjs.org/qs
npm http GET https://registry.npmjs.org/serve-index
npm http GET https://registry.npmjs.org/multiparty
npm http GET https://registry.npmjs.org/on-headers
npm http GET https://registry.npmjs.org/vhost
npm http GET https://registry.npmjs.org/pause
npm http GET https://registry.npmjs.org/serve-favicon
npm http GET https://registry.npmjs.org/response-time
npm http GET https://registry.npmjs.org/serve-static
npm http GET https://registry.npmjs.org/type-is
npm http 304 https://registry.npmjs.org/bytes
npm http 304 https://registry.npmjs.org/body-parser
npm http 304 https://registry.npmjs.org/connect-timeout
npm http 304 https://registry.npmjs.org/compression
npm http 304 https://registry.npmjs.org/cookie-parser
npm http 304 https://registry.npmjs.org/express-session
npm http 304 https://registry.npmjs.org/csurf
npm http GET https://registry.npmjs.org/transformers
npm http GET https://registry.npmjs.org/with
npm http GET https://registry.npmjs.org/monocle
npm http GET https://registry.npmjs.org/character-parser
npm http GET https://registry.npmjs.org/constantinople
npm http 304 https://registry.npmjs.org/errorhandler
npm http 304 https://registry.npmjs.org/basic-auth-connect
npm http 304 https://registry.npmjs.org/qs
npm http 304 https://registry.npmjs.org/method-override
npm http 304 https://registry.npmjs.org/on-headers
npm http 304 https://registry.npmjs.org/serve-index
npm http 304 https://registry.npmjs.org/multiparty
npm http 304 https://registry.npmjs.org/morgan
npm http 304 https://registry.npmjs.org/vhost
npm http 304 https://registry.npmjs.org/pause
npm http 304 https://registry.npmjs.org/type-is
npm http 304 https://registry.npmjs.org/with
npm http 304 https://registry.npmjs.org/serve-static
npm http 304 https://registry.npmjs.org/response-time
npm http 304 https://registry.npmjs.org/serve-favicon
npm http 304 https://registry.npmjs.org/transformers
npm http 304 https://registry.npmjs.org/constantinople
npm http 304 https://registry.npmjs.org/monocle
npm http 304 https://registry.npmjs.org/character-parser
npm http GET https://registry.npmjs.org/accepts
npm http GET https://registry.npmjs.org/compressible
npm http GET https://registry.npmjs.org/mime-types
npm http GET https://registry.npmjs.org/readdirp
npm http GET https://registry.npmjs.org/raw-body
npm http GET https://registry.npmjs.org/csrf-tokens
npm http GET https://registry.npmjs.org/uglify-js
npm http 304 https://registry.npmjs.org/compressible
npm http 304 https://registry.npmjs.org/mime-types
npm http GET https://registry.npmjs.org/uglify-js
npm http 304 https://registry.npmjs.org/uglify-js
npm http 304 https://registry.npmjs.org/uglify-js
npm http 304 https://registry.npmjs.org/accepts
npm http 304 https://registry.npmjs.org/csrf-tokens
npm http 304 https://registry.npmjs.org/readdirp
npm http 304 https://registry.npmjs.org/raw-body
npm http GET https://registry.npmjs.org/hawk
npm http GET https://registry.npmjs.org/node-uuid
npm http GET https://registry.npmjs.org/oauth-sign
npm http GET https://registry.npmjs.org/aws-sign
npm http GET https://registry.npmjs.org/json-stringify-safe
npm http GET https://registry.npmjs.org/cookie-jar
npm http GET https://registry.npmjs.org/forever-agent
npm http GET https://registry.npmjs.org/tunnel-agent
npm http 304 https://registry.npmjs.org/hawk
npm http 304 https://registry.npmjs.org/node-uuid
npm http 304 https://registry.npmjs.org/cookie-jar
npm http 304 https://registry.npmjs.org/aws-sign
npm http 304 https://registry.npmjs.org/forever-agent
npm http GET https://registry.npmjs.org/promise
npm http GET https://registry.npmjs.org/css
npm http GET https://registry.npmjs.org/form-data
npm http 304 https://registry.npmjs.org/tunnel-agent
npm http 304 https://registry.npmjs.org/oauth-sign
npm http 304 https://registry.npmjs.org/json-stringify-safe
npm http 304 https://registry.npmjs.org/form-data
npm http 304 https://registry.npmjs.org/promise
npm http 304 https://registry.npmjs.org/css
npm http GET https://registry.npmjs.org/utils-merge
npm http GET https://registry.npmjs.org/uid2
npm http 304 https://registry.npmjs.org/utils-merge
npm http 304 https://registry.npmjs.org/uid2
npm http GET https://registry.npmjs.org/stream-counter
npm http GET https://registry.npmjs.org/readable-stream
npm http 304 https://registry.npmjs.org/stream-counter
npm http 304 https://registry.npmjs.org/readable-stream
npm ERR! Error: ENOENT, utime '/usr/local/lib/node_modules/ti-inspector/node_modules/jade/node_modules/monocle/node_modules/readdirp/LICENSE'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>
npm ERR! System Darwin 13.2.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "ti-inspector"
npm ERR! cwd /Users/vincentkhougaz/Projects/TransUnionMobile/TransUnion-Titanium
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.9
npm ERR! path /usr/local/lib/node_modules/ti-inspector/node_modules/jade/node_modules/monocle/node_modules/readdirp/LICENSE
npm ERR! fstream_path /usr/local/lib/node_modules/ti-inspector/node_modules/jade/node_modules/monocle/node_modules/readdirp/LICENSE
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! fstream_finish_call utimes
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:305:19
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! error rolling back Error: ENOTEMPTY, rmdir '/usr/local/lib/node_modules/ti-inspector/node_modules/jade/node_modules/transformers/node_modules'
npm ERR! error rolling back  ti-inspector@0.1.1 { [Error: ENOTEMPTY, rmdir '/usr/local/lib/node_modules/ti-inspector/node_modules/jade/node_modules/transformers/node_modules']
npm ERR! error rolling back   errno: 53,
npm ERR! error rolling back   code: 'ENOTEMPTY',
npm ERR! error rolling back   path: '/usr/local/lib/node_modules/ti-inspector/node_modules/jade/node_modules/transformers/node_modules' }
npm ERR! Failed to parse json
npm ERR! Unexpected end of input
npm ERR! File: /Users/vincentkhougaz/.npm/cookie-jar/0.2.0/package/package.json
npm ERR! Failed to parse package.json data.
npm ERR! package.json must be actual JSON, not just JavaScript.
npm ERR!
npm ERR! This is not a bug in npm.
npm ERR! Tell the package author to fix their package.json file. JSON.parse
npm ERR! System Darwin 13.2.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "ti-inspector"
npm ERR! cwd /Users/vincentkhougaz/Projects/TransUnionMobile/TransUnion-Titanium
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.9
npm ERR! file /Users/vincentkhougaz/.npm/cookie-jar/0.2.0/package/package.json
npm ERR! code EJSONPARSE
npm ERR! Error: ENOENT, lstat '/usr/local/lib/node_modules/ti-inspector/node_modules/jade/node_modules/constantinople/node_modules/uglify-js/README.md'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>
npm ERR! System Darwin 13.2.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "ti-inspector"
npm ERR! cwd /Users/vincentkhougaz/Projects/TransUnionMobile/TransUnion-Titanium
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.9
npm ERR! path /usr/local/lib/node_modules/ti-inspector/node_modules/jade/node_modules/constantinople/node_modules/uglify-js/README.md
npm ERR! fstream_path /usr/local/lib/node_modules/ti-inspector/node_modules/jade/node_modules/constantinople/node_modules/uglify-js/README.md
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat '/usr/local/lib/node_modules/ti-inspector/node_modules/express/node_modules/connect/node_modules/type-is/node_modules/mime-types/lib/index.js'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>
npm ERR! System Darwin 13.2.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "ti-inspector"
npm ERR! cwd /Users/vincentkhougaz/Projects/TransUnionMobile/TransUnion-Titanium
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.9
npm ERR! path /usr/local/lib/node_modules/ti-inspector/node_modules/express/node_modules/connect/node_modules/type-is/node_modules/mime-types/lib/index.js
npm ERR! fstream_path /usr/local/lib/node_modules/ti-inspector/node_modules/express/node_modules/connect/node_modules/type-is/node_modules/mime-types/lib/index.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat '/usr/local/lib/node_modules/ti-inspector/node_modules/express/node_modules/connect/node_modules/express-session/node_modules/debug/Readme.md'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>
npm ERR! System Darwin 13.2.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "ti-inspector"
npm ERR! cwd /Users/vincentkhougaz/Projects/TransUnionMobile/TransUnion-Titanium
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.9
npm ERR! path /usr/local/lib/node_modules/ti-inspector/node_modules/express/node_modules/connect/node_modules/express-session/node_modules/debug/Readme.md
npm ERR! fstream_path /usr/local/lib/node_modules/ti-inspector/node_modules/express/node_modules/connect/node_modules/express-session/node_modules/debug/Readme.md
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm http GET https://registry.npmjs.org/negotiator
npm ERR! Error: ENOENT, lstat '/usr/local/lib/node_modules/ti-inspector/node_modules/jade/node_modules/transformers/node_modules/uglify-js/README.md'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>
npm ERR! System Darwin 13.2.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "ti-inspector"
npm ERR! cwd /Users/vincentkhougaz/Projects/TransUnionMobile/TransUnion-Titanium
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.9
npm ERR! path /usr/local/lib/node_modules/ti-inspector/node_modules/jade/node_modules/transformers/node_modules/uglify-js/README.md
npm ERR! fstream_path /usr/local/lib/node_modules/ti-inspector/node_modules/jade/node_modules/transformers/node_modules/uglify-js/README.md
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat '/usr/local/lib/node_modules/ti-inspector/node_modules/express/node_modules/connect/node_modules/compression/node_modules/compressible/compressible.sublime-workspace'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>
npm ERR! System Darwin 13.2.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "ti-inspector"
npm ERR! cwd /Users/vincentkhougaz/Projects/TransUnionMobile/TransUnion-Titanium
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.9
npm ERR! path /usr/local/lib/node_modules/ti-inspector/node_modules/express/node_modules/connect/node_modules/compression/node_modules/compressible/compressible.sublime-workspace
npm ERR! fstream_path /usr/local/lib/node_modules/ti-inspector/node_modules/express/node_modules/connect/node_modules/compression/node_modules/compressible/compressible.sublime-workspace
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm http 304 https://registry.npmjs.org/negotiator
npm ERR! Error: ENOENT, lstat '/usr/local/lib/node_modules/ti-inspector/node_modules/express/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/transform.js'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>
npm ERR! System Darwin 13.2.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "ti-inspector"
npm ERR! cwd /Users/vincentkhougaz/Projects/TransUnionMobile/TransUnion-Titanium
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.9
npm ERR! path /usr/local/lib/node_modules/ti-inspector/node_modules/express/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/transform.js
npm ERR! fstream_path /usr/local/lib/node_modules/ti-inspector/node_modules/express/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/transform.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, open '/usr/local/lib/node_modules/ti-inspector/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_go.png'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>
npm ERR! System Darwin 13.2.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "ti-inspector"
npm ERR! cwd /Users/vincentkhougaz/Projects/TransUnionMobile/TransUnion-Titanium
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.9
npm ERR! path /usr/local/lib/node_modules/ti-inspector/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_go.png
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! Error: ENOENT, lstat '/usr/local/lib/node_modules/ti-inspector/node_modules/express/node_modules/connect/node_modules/body-parser/node_modules/type-is/node_modules/mime/README.md'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>
npm ERR! System Darwin 13.2.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "ti-inspector"
npm ERR! cwd /Users/vincentkhougaz/Projects/TransUnionMobile/TransUnion-Titanium
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.9
npm ERR! path /usr/local/lib/node_modules/ti-inspector/node_modules/express/node_modules/connect/node_modules/body-parser/node_modules/type-is/node_modules/mime/README.md
npm ERR! fstream_path /usr/local/lib/node_modules/ti-inspector/node_modules/express/node_modules/connect/node_modules/body-parser/node_modules/type-is/node_modules/mime/README.md
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)

Definitely an environment issue. I don't know what's up, every time I run the command I get different errors.