atom / language-c

C support in Atom
Other
116 stars 154 forks source link

Failed to load a language-c package grammar #341

Closed sandeepm75 closed 4 years ago

sandeepm75 commented 4 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.45.0 x64 Electron: 4.2.7 OS: Microsoft Windows 10 Home Single Language Thrown From: language-c package 0.60.18

Stack Trace

Failed to load a language-c package grammar

At The specified module could not be found.
\\?\C:\Users\hp\AppData\Local\atom\app-1.45.0\resources\app.asar.unpacked\node_modules\tree-sitter-cpp\build\Release\tree_sitter_cpp_binding.node in C:\Users\hp\AppData\Local\atom\app-1.45.0\resources\app.asar\node_modules\language-c\grammars\tree-sitter-cpp.json

Error: The specified module could not be found.
\\?\C:\Users\hp\AppData\Local\atom\app-1.45.0\resources\app.asar.unpacked\node_modules\tree-sitter-cpp\build\Release\tree_sitter_cpp_binding.node
    at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:160:31)
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:722:18)
    at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:169:18)
    at Module.load (internal/modules/cjs/loader.js:602:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:541:12)
    at Function.Module._load (internal/modules/cjs/loader.js:533:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (~/AppData/Local/atom/app-1.45.0/resources/app/static/<embedded>:11:146745)
    at /app.asar/node_modules/tree-sitter-cpp/index.js:2:20)
    at /app.asar/node_modules/tree-sitter-cpp/index.js:15:3)
    at Module.get_Module._compile (~/AppData/Local/atom/app-1.45.0/resources/app/static/<embedded>:11:147429)
    at Object.value [as .js] (~/AppData/Local/atom/app-1.45.0/resources/app/static/<embedded>:11:150977)
    at Module.load (internal/modules/cjs/loader.js:602:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:541:12)
    at Function.Module._load (internal/modules/cjs/loader.js:533:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (internal/modules/cjs/helpers.js:20:18)
    at customRequire (~/AppData/Local/atom/app-1.45.0/resources/app/static/<embedded>:1:721712)
    at new TreeSitterGrammar (~/AppData/Local/atom/app-1.45.0/resources/app/static/<embedded>:11:3249210)
    at GrammarRegistry.createGrammar (~/AppData/Local/atom/app-1.45.0/resources/app/static/<embedded>:11:359945)
    at l.readFile (~/AppData/Local/atom/app-1.45.0/resources/app/static/<embedded>:11:359786)
    at u (~/AppData/Local/atom/app-1.45.0/resources/app/static/<embedded>:11:580454)
    at ~/AppData/Local/atom/app-1.45.0/resources/app/static/<embedded>:11:581707
    at fs.read.error (ELECTRON_ASAR.js:573:9)
    at FSReqWrap.wrapper [as oncomplete] (fs.js:460:17)
  at /app.asar/node_modules/language-c/grammars/tree-sitter-cpp.json:1:1

Commands

Non-Core Packages

darangi commented 4 years ago

Thanks for reaching out!

We require the template to be filled out on all new issues and pull requests. We do this so that we can be certain we have all the information we need to address your submission efficiently. This allows the maintainers to spend more time fixing bugs, implementing enhancements, and reviewing and merging pull requests.

Thanks for understanding and meeting us half way 😀