atom / language-csharp

C# language support for Atom
Other
62 stars 53 forks source link

Failed to load a language-csharp package grammar #95

Closed llllIIIIllll closed 7 years ago

llllIIIIllll commented 7 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.17.0 ia32 Electron: 1.3.15 OS: Unknown Windows version Thrown From: language-csharp package 0.14.2

Stack Trace

Failed to load a language-csharp package grammar

At ENOENT: no such file or directory, open 'C:\Users\pc\AppData\Local\atom\app-1.17.0\resources\app\node_modules\language-csharp\grammars\c#.json' in C:\Users\pc\AppData\Local\atom\app-1.17.0\resources\app\node_modules\language-csharp\grammars\c#.json

Error: ENOENT: no such file or directory, open 'C:\Users\pc\AppData\Local\atom\app-1.17.0\resources\app\node_modules\language-csharp\grammars\c#.json'
    at Error (native)
  at ~/AppData/Local/atom/app-1.17.0/resources/app/node_modules/language-csharp/grammars/c#.json:1:1

Commands

Non-Core Packages

damieng commented 7 years ago

What kind of install did you do? AtomSetup.exe, auto-upgrader, portable...

Can you also check the 'C:\Users\pc\AppData\Local\atom\app-1.17.0\resources\app\node_modules\language-csharp\grammars\' folder to see if that file is there and if it is not whether all the directories that lead there are here.

I just checked the Atom-1.17 zip and it's definitely included there - I'm not sure how and why it wouldn't have been installed/unpacked on your machine. You could try removing Atom and reinstalling it using the 1.17 AtomSetup.exe

image

llllIIIIllll commented 7 years ago

AtomSetup.exe only build cake csx try to reinstall

damieng commented 7 years ago

Seems to be an issue with a bunch of packages, we are tracking this at https://github.com/atom/language-java/issues/94