atom / language-typescript

TypeScript language package for Atom
Other
21 stars 33 forks source link

Failed to load a language-typescript package grammar #28

Closed mohamadazami closed 5 years ago

mohamadazami commented 5 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.32.0 ia32 Electron: 2.0.9 OS: Microsoft Windows 8.1 Enterprise Thrown From: language-typescript package 0.4.6

Stack Trace

Failed to load a language-typescript package grammar

At The specified module could not be found.
\\?\C:\Users\SADEGHAZAMI1981GMAIL\AppData\Local\atom\app-1.32.0\resources\app.asar.unpacked\node_modules\tree-sitter-typescript\build\Release\tree_sitter_typescript_binding.node in C:\Users\SADEGHAZAMI1981GMAIL\AppData\Local\atom\app-1.32.0\resources\app.asar\node_modules\language-typescript\grammars\tree-sitter-typescript.json

Error: The specified module could not be found.
\\?\C:\Users\SADEGHAZAMI1981GMAIL\AppData\Local\atom\app-1.32.0\resources\app.asar.unpacked\node_modules\tree-sitter-typescript\build\Release\tree_sitter_typescript_binding.node
    at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:166:20)
    at Object.Module._extensions..node (module.js:671:18)
    at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:180:18)
    at Module.load (module.js:561:32)
    at tryModuleLoad (module.js:504:12)
    at Function.Module._load (module.js:496:3)
    at Module.require (/app.asar/static/index.js:47:45)
    at require (~/AppData/Local/atom/app-1.32.0/resources/app/static/<embedded>:11:145671)
    at /app.asar/node_modules/tree-sitter-typescript/index.js:2:20)
    at /app.asar/node_modules/tree-sitter-typescript/index.js:11:3)
    at Module.get_Module._compile (~/AppData/Local/atom/app-1.32.0/resources/app/static/<embedded>:11:146381)
    at Object.value [as .js] (~/AppData/Local/atom/app-1.32.0/resources/app/static/<embedded>:11:149928)
    at Module.load (module.js:561:32)
    at tryModuleLoad (module.js:504:12)
    at Function.Module._load (module.js:496:3)
    at Module.require (/app.asar/static/index.js:47:45)
    at require (internal/module.js:11:18)
    at customRequire (~/AppData/Local/atom/app-1.32.0/resources/app/static/<embedded>:1:622321)
    at new TreeSitterGrammar (~/AppData/Local/atom/app-1.32.0/resources/app/static/<embedded>:11:2952432)
    at GrammarRegistry.createGrammar (~/AppData/Local/atom/app-1.32.0/resources/app/static/<embedded>:11:356290)
    at l.readFile (~/AppData/Local/atom/app-1.32.0/resources/app/static/<embedded>:11:356131)
    at u (~/AppData/Local/atom/app-1.32.0/resources/app/static/<embedded>:11:575466)
    at ~/AppData/Local/atom/app-1.32.0/resources/app/static/<embedded>:11:576719
    at ELECTRON_ASAR.js:530:9
    at FSReqWrap.wrapper [as oncomplete] (fs.js:658:17)
  at /app.asar/node_modules/language-typescript/grammars/tree-sitter-typescript.json:1:1

Commands

Non-Core Packages

Arcanemagus commented 5 years ago

Thanks for taking the time to contribute!

We noticed that this is a duplicate of https://github.com/atom/language-typescript/issues/26. You may want to subscribe there for updates.

Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.

For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.