josa42 / atom-svg-preview

Live SVG preview for Atom editor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot Install -- Errors

mikebronner opened this issue · comments

I get the following errors when trying to install:

> runas@0.5.4 install /private/var/folders/0j/vh9ytqp92fl4jgpwqv7q3x6w000101/T/apm-install-dir-114317-6534-16h1gqo/node_modules/svg-preview/node_modules/pathwatcher/node_modules/runas
> node-gyp rebuild


npm http GET https://registry.npmjs.org/pathwatcher
npm http GET https://registry.npmjs.org/wrench
npm http GET https://registry.npmjs.org/temp
npm http GET https://registry.npmjs.org/underscore-plus
npm http GET https://registry.npmjs.org/fs-plus
npm http 304 https://registry.npmjs.org/fs-plus
npm http 304 https://registry.npmjs.org/underscore-plus
npm http 200 https://registry.npmjs.org/temp
npm http 200 https://registry.npmjs.org/pathwatcher
npm http 200 https://registry.npmjs.org/wrench
npm http GET https://registry.npmjs.org/temp/-/temp-0.6.0.tgz
npm http GET https://registry.npmjs.org/pathwatcher/-/pathwatcher-1.1.1.tgz
npm http GET https://registry.npmjs.org/wrench/-/wrench-1.5.8.tgz
npm http 200 https://registry.npmjs.org/temp/-/temp-0.6.0.tgz
npm http 200 https://registry.npmjs.org/pathwatcher/-/pathwatcher-1.1.1.tgz
npm http 200 https://registry.npmjs.org/wrench/-/wrench-1.5.8.tgz
npm http GET https://registry.npmjs.org/underscore
npm http GET https://registry.npmjs.org/rimraf
npm http GET https://registry.npmjs.org/mkdirp
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/osenv/0.0.3
npm http GET https://registry.npmjs.org/rimraf
npm http 304 https://registry.npmjs.org/rimraf
npm http 304 https://registry.npmjs.org/mkdirp
npm http 304 https://registry.npmjs.org/rimraf
npm http 200 https://registry.npmjs.org/osenv/0.0.3
npm http GET https://registry.npmjs.org/rimraf/-/rimraf-2.1.4.tgz
npm http GET https://registry.npmjs.org/osenv/-/osenv-0.0.3.tgz
npm http GET https://registry.npmjs.org/bindings
npm http 304 https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/nan/0.8.0
npm http GET https://registry.npmjs.org/q
npm http GET https://registry.npmjs.org/runas
npm http 200 https://registry.npmjs.org/rimraf/-/rimraf-2.1.4.tgz
npm http GET https://registry.npmjs.org/async
npm http 200 https://registry.npmjs.org/osenv/-/osenv-0.0.3.tgz
npm http GET https://registry.npmjs.org/emissary
npm http 304 https://registry.npmjs.org/underscore
npm http 200 https://registry.npmjs.org/async
npm http 200 https://registry.npmjs.org/nan/0.8.0
npm http GET https://registry.npmjs.org/nan/-/nan-0.8.0.tgz
npm http 200 https://registry.npmjs.org/runas
npm http 200 https://registry.npmjs.org/nan/-/nan-0.8.0.tgz
npm http GET https://registry.npmjs.org/runas/-/runas-0.5.4.tgz
npm http 200 https://registry.npmjs.org/bindings
npm http 200 https://registry.npmjs.org/q
npm http GET https://registry.npmjs.org/bindings/-/bindings-1.1.1.tgz
npm http 200 https://registry.npmjs.org/runas/-/runas-0.5.4.tgz
npm http GET https://registry.npmjs.org/q/-/q-1.0.1.tgz
npm http 200 https://registry.npmjs.org/bindings/-/bindings-1.1.1.tgz
npm http 304 https://registry.npmjs.org/emissary
npm http GET https://registry.npmjs.org/graceful-fs
npm http 200 https://registry.npmjs.org/graceful-fs
npm http GET https://registry.npmjs.org/graceful-fs/-/graceful-fs-1.2.3.tgz
npm http 200 https://registry.npmjs.org/graceful-fs/-/graceful-fs-1.2.3.tgz
npm http 200 https://registry.npmjs.org/q/-/q-1.0.1.tgz
/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/bin/node-gyp-bin/node-gyp: line 2: node: command not found
npm ERR! Error: ENOENT, utime '/private/var/folders/0j/vh9ytqp92fl4jgpwqv7q3x6w000101/T/apm-install-dir-114317-6534-16h1gqo/node_modules/svg-preview/node_modules/pathwatcher/node_modules/q/CONTRIBUTING.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.1.0
npm ERR! command "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/bin/node_darwin_x64" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/bin/npm-cli.js" "--userconfig" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/.apmrc" "install" "/var/folders/0j/vh9ytqp92fl4jgpwqv7q3x6w000101/T/d-114317-6534-f8g78u/package.tgz" "--target=0.11.10" "--arch=x64"
npm ERR! cwd /private/var/folders/0j/vh9ytqp92fl4jgpwqv7q3x6w000101/T/apm-install-dir-114317-6534-16h1gqo
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.4
npm ERR! path /private/var/folders/0j/vh9ytqp92fl4jgpwqv7q3x6w000101/T/apm-install-dir-114317-6534-16h1gqo/node_modules/svg-preview/node_modules/pathwatcher/node_modules/q/CONTRIBUTING.md
npm ERR! fstream_path /private/var/folders/0j/vh9ytqp92fl4jgpwqv7q3x6w000101/T/apm-install-dir-114317-6534-16h1gqo/node_modules/svg-preview/node_modules/pathwatcher/node_modules/q/CONTRIBUTING.md
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 /Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/node_modules/fstream/lib/writer.js:305:19
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm http GET https://registry.npmjs.org/property-accessors
npm http GET https://registry.npmjs.org/mixto
npm ERR! error rolling back Error: ENOTEMPTY, rmdir '/private/var/folders/0j/vh9ytqp92fl4jgpwqv7q3x6w000101/T/apm-install-dir-114317-6534-16h1gqo/node_modules/svg-preview/node_modules/pathwatcher/node_modules/nan'
npm ERR! error rolling back  pathwatcher@1.1.1 { [Error: ENOTEMPTY, rmdir '/private/var/folders/0j/vh9ytqp92fl4jgpwqv7q3x6w000101/T/apm-install-dir-114317-6534-16h1gqo/node_modules/svg-preview/node_modules/pathwatcher/node_modules/nan']
npm ERR! error rolling back   errno: 53,
npm ERR! error rolling back   code: 'ENOTEMPTY',
npm ERR! error rolling back   path: '/private/var/folders/0j/vh9ytqp92fl4jgpwqv7q3x6w000101/T/apm-install-dir-114317-6534-16h1gqo/node_modules/svg-preview/node_modules/pathwatcher/node_modules/nan' }
npm ERR! runas@0.5.4 install: `node-gyp rebuild`
npm ERR! Exit status 127
npm ERR! 
npm ERR! Failed at the runas@0.5.4 install script.
npm ERR! This is most likely a problem with the runas package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls runas
npm ERR! There is likely additional logging output above.

npm ERR! System Darwin 13.1.0
npm ERR! command "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/bin/node_darwin_x64" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/bin/npm-cli.js" "--userconfig" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/.apmrc" "install" "/var/folders/0j/vh9ytqp92fl4jgpwqv7q3x6w000101/T/d-114317-6534-f8g78u/package.tgz" "--target=0.11.10" "--arch=x64"
npm ERR! cwd /private/var/folders/0j/vh9ytqp92fl4jgpwqv7q3x6w000101/T/apm-install-dir-114317-6534-16h1gqo
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.4
npm ERR! code ELIFECYCLE
npm http 304 https://registry.npmjs.org/mixto
npm http 304 https://registry.npmjs.org/property-accessors
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /private/var/folders/0j/vh9ytqp92fl4jgpwqv7q3x6w000101/T/apm-install-dir-114317-6534-16h1gqo/npm-debug.log
npm ERR! not ok code 0
 /Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/bin/node-gyp-bin/node-gyp: line 2: node: command not found

That's an Atom bug. Please read the installation note and report back.

Awesome!!! works like a charm. Awesome plugin! Thanks so much :) 👍