Closed nayucolony closed 7 years ago
confirm this
Just installed "markdown-editor" package v2.6.1 and got this error.
Same error for me while trying to install atom-pair
Atom Version: 1.10.2 System: Mac OS X 10.11.6
I'm seeing this error when installing atom-beautify
, i keep trying and no dice
https://github.com/atom/settings-view/commit/a6f5b63ff1216f237656b9c5037b8cbc9ad06bcf should take care of the ENOENT errors and will stop exceptions from the EACCES although not sure if the EACCES is an actual permission issue (this could hide that problem) or one of concurrency (this would solve that problem albeit in a brute-force kind of way)
It happened to me because the ~/.cache/Atom was created by root at some point.
So, this issue may be created by updating packages while using Atom as root. I've got this issue for some packages, and fixed it by using the command apm update
as sudo. Using Atom as sudo should work too. However this issue will be prompted for each new update of these packages (I guess) while using Atom as non-root user. Got to see to fix this in a proper way.
@aonoloki sudo apm update
worked for me too with a similar error for the language-haml package. Thanks.
@tomanistor Your welcome, share some tips is essential in the dev.
However, I fixed this with a simple trick. I've noted all the plugins updated as root, then deleted their folder in .atom/packages with a simple rm -RF
from my terminal, and then re-install them as non-root with the apm install
command. Error fixed !
[Enter steps to reproduce below:]
Atom Version: 1.10.2 Electron Version: 0.37.8 System: Mac OS X 10.11.6 Thrown From: settings-view package, v0.242.2
Stack Trace
Uncaught Error: ENOENT: no such file or directory, unlink '/Users/yuki/Library/Application Support/Atom/Cache/settings-view/AtomLinter-1474338716414'
Commands
Config
Installed Packages