Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install package #9

Open
mairanteodoro opened this issue Oct 11, 2016 · 4 comments
Open

Cannot install package #9

mairanteodoro opened this issue Oct 11, 2016 · 4 comments

Comments

@mairanteodoro
Copy link

Hi!
I'm trying to install this package but keep getting the error below. Any help would be appreciated!

Installing “[email protected]” failed.Hide output…

npm ERR! Darwin 16.0.0
npm ERR! argv "/Applications/Atom.app/Contents/Resources/app/apm/bin/node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/Users/mairan/.atom/.apm/.apmrc" "--userconfig" "/Users/mairan/.atom/.apmrc" "install" "/private/var/folders/ts/8vv380991jb5kdv90t5k04zc0000gn/T/d-116911-38615-w110cx/package.tgz" "--runtime=electron" "--target=0.37.8" "--arch=x64" "--global-style"
npm ERR! node v4.4.5
npm ERR! npm  v3.10.5
npm ERR! code EREADFILE

npm ERR! Error extracting /Users/mairan/.atom/.apm/fs/0.0.0/package.tgz archive: ENOENT: no such file or directory, open '/Users/mairan/.atom/.apm/fs/0.0.0/package.tgz'
npm ERR! 
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /private/var/folders/ts/8vv380991jb5kdv90t5k04zc0000gn/T/apm-install-dir-116911-38615-1erloik/npm-debug.log

@freed00m
Copy link

freed00m commented Dec 3, 2016

I can't either, different output

(node:5876) DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.


npm ERR! Linux 4.8.9-1-MANJARO
npm ERR! argv "/usr/bin/node" "/usr/lib/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/home/frdm/.atom/.apm/.apmrc" "--userconfig" "/home/frdm/.atom/.apmrc" "install" "/tmp/d-116113-5876-qtjfzw.p4zl8wu3di/package.tgz" "--runtime=electron" "--target=1.4.8" "--arch=x64" "--global-style"
npm ERR! node v7.2.0
npm ERR! npm  v4.0.2
npm ERR! code EREADFILE

npm ERR! Error extracting /home/frdm/.atom/.apm/fs/0.0.0/package.tgz archive: ENOENT: no such file or directory, open '/home/frdm/.atom/.apm/fs/0.0.0/package.tgz'
npm ERR! 
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /tmp/apm-install-dir-116113-5876-fmv811.mvsgyi7ldi/npm-debug.log

@ickyrr
Copy link

ickyrr commented Dec 21, 2016

@sveale @zhangkaiyulw

Hello, I've encountered the same error just now and here's how I fixed it:

Note: You may have noticed that apm is extracting "/Users/mairan/.atom/.apm/fs/0.0.0/package.tgz" . Try to take a look at this path and check if the directory 0.0.0 exists. If you have updated your atom to the latest, you won't see that folder, hence, the error:

npm ERR! Error extracting /Users/mairan/.atom/.apm/fs/0.0.0/package.tgz archive: ENOENT: no such file or directory, open '/Users/mairan/.atom/.apm/fs/0.0.0/package.tgz

What you'll see there is the directory named 0.0.x where x is the incremental value of the version.

Duplicate the whole 0.0.x directory and rename it to 0.0.0.

Try installing external-open again.

Hope this helps!

Oh, and don't forget to delete the 0.0.0 directory after the installation. Not sure, but it may cause problems.

@freed00m
Copy link

@ickyrr that worked, sadly the plugin doesn't has so many issues I won't take time now to write them all now.

@kankaristo
Copy link

@sveale, any update on this? Still seems to be an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants