Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Failed to load a language-c package grammar #349

Open
gregcooperdev opened this issue May 22, 2020 · 0 comments
Open

Failed to load a language-c package grammar #349

gregcooperdev opened this issue May 22, 2020 · 0 comments

Comments

@gregcooperdev
Copy link

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.47.0 x64
Electron: 5.0.13
OS: Microsoft Windows 10 Home
Thrown From: language-c package 0.60.19

Stack Trace

Failed to load a language-c package grammar

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

Error: The specified module could not be found.
\\?\C:\Users\Coop\AppData\Local\atom\app-1.47.0\resources\app.asar.unpacked\node_modules\tree-sitter-c\build\Release\tree_sitter_c_binding.node
    at process.func [as dlopen] (electron/js2c/asar.js:138:31)
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:881:18)
    at Object.func [as .node] (electron/js2c/asar.js:147:18)
    at Module.load (internal/modules/cjs/loader.js:701:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:633:12)
    at Function.Module._load (internal/modules/cjs/loader.js:625:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (~/AppData/Local/atom/app-1.47.0/resources/app/static/<embedded>:11:146766)
    at /app.asar/node_modules/tree-sitter-c/index.js:2:20)
    at /app.asar/node_modules/tree-sitter-c/index.js:15:3)
    at Module.get_Module._compile (~/AppData/Local/atom/app-1.47.0/resources/app/static/<embedded>:11:147450)
    at Object.value [as .js] (~/AppData/Local/atom/app-1.47.0/resources/app/static/<embedded>:11:150998)
    at Module.load (internal/modules/cjs/loader.js:701:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:633:12)
    at Function.Module._load (internal/modules/cjs/loader.js:625:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (internal/modules/cjs/helpers.js:14:16)
    at customRequire (~/AppData/Local/atom/app-1.47.0/resources/app/static/<embedded>:1:735013)
    at new TreeSitterGrammar (~/AppData/Local/atom/app-1.47.0/resources/app/static/<embedded>:11:3220847)
    at GrammarRegistry.createGrammar (~/AppData/Local/atom/app-1.47.0/resources/app/static/<embedded>:11:360231)
    at ~/AppData/Local/atom/app-1.47.0/resources/app/static/<embedded>:11:360072
    at u (~/AppData/Local/atom/app-1.47.0/resources/app/static/<embedded>:11:580740)
    at ~/AppData/Local/atom/app-1.47.0/resources/app/static/<embedded>:11:581993
    at electron/js2c/asar.js:571:9
    at FSReqCallback.wrapper [as oncomplete] (fs.js:483:5)
  at /app.asar/node_modules/language-c/grammars/tree-sitter-c.json:1:1

Commands

Non-Core Packages

atom-beautify 0.33.4 
atom-ternjs 0.20.0 
autoclose-html 0.23.0 
csslint 1.2.0 
emmet 2.4.3 
hyperclick 0.1.5 
language-ejs 0.4.0 
pigments 0.40.2 
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant