Closed AndreasPizsa closed 7 years ago
Hey mate,
That's a rather unusual error; can you check if there really is a .gitattributes
file located at the following path? If so, are there any segments in the path which point to symbolically-linked directories?
~/Documents/Projekte/goodgame/CoreJS/node_modules/tslint/.gitattributes
It threw when it tried reading from that .gitattributes
file, because it doesn't expect the fil's contents will be problematic to load...
Only other thing I can think of is that it's pointing to a remote directory listing...?
Hey @Alhadis, just checked, this file does indeed exist and all path segments are actual files/directories on my local machine, not symlinks.
🤔
It just occurred again; I'm running yarn add <something>
and this happens while yarn is running
Odd. 😕
Alright, well, the least I can do is silence the error so there's no runtime breakage. For now, you can simply disable this package setting, which should fix the error:
Hey, when I run yarn add tslint
, I can't see a .gitattributes
file in node_modules/tslint
... Did you install it using something else?
Not that I'm aware of. 🤔
Yikes. :S That's really strange.
If you installed a list of dependencies using npm install
, that may explain it.
Either way, please let me know if you encounter this (really weird) issue again, alright? =) Should be fixed by the latest release that I cut earlier today.
If you installed a list of dependencies using npm install, that may explain it.
That’s most likely.
Thanks for the fix, @Alhadis ! 👍
Haha, my pleasure! :D
[Enter steps to reproduce:]
Atom: 1.19.1 x64 Electron: 1.6.9 OS: Mac OS X 10.12.6 Thrown From: file-icons package 2.1.10
Stack Trace
Uncaught Error: ENOENT: no such file or directory, open '/Users/apizsa/Documents/Projekte/goodgame/CoreJS/node_modules/tslint/.gitattributes'
Commands
Non-Core Packages