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 #362

Open
UlviShukurzade opened this issue Jan 9, 2021 · 0 comments
Open

Failed to load a language-c package grammar #362

UlviShukurzade opened this issue Jan 9, 2021 · 0 comments

Comments

@UlviShukurzade
Copy link

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.51.0 x64
Electron: 5.0.13
OS: Microsoft Windows 10 Pro
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\ulvis\AppData\Local\atom\app-1.51.0\resources\app.asar.unpacked\node_modules\tree-sitter-c\build\Release\tree_sitter_c_binding.node in C:\Users\ulvis\AppData\Local\atom\app-1.51.0\resources\app.asar\node_modules\language-c\grammars\tree-sitter-c.json

Error: The specified module could not be found.
\\?\C:\Users\ulvis\AppData\Local\atom\app-1.51.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.51.0/resources/app/static/<embedded>:11:146814)
    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.51.0/resources/app/static/<embedded>:11:147498)
    at Object.value [as .js] (~/AppData/Local/atom/app-1.51.0/resources/app/static/<embedded>:11:151046)
    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.51.0/resources/app/static/<embedded>:1:722026)
    at new TreeSitterGrammar (~/AppData/Local/atom/app-1.51.0/resources/app/static/<embedded>:11:3210648)
    at GrammarRegistry.createGrammar (~/AppData/Local/atom/app-1.51.0/resources/app/static/<embedded>:11:360435)
    at ~/AppData/Local/atom/app-1.51.0/resources/app/static/<embedded>:11:360276
    at u (~/AppData/Local/atom/app-1.51.0/resources/app/static/<embedded>:11:581084)
    at ~/AppData/Local/atom/app-1.51.0/resources/app/static/<embedded>:11:582337
    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


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