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

Failed to load a language-go package grammar #183

@wkdthf21

Description

@wkdthf21

I want to know what is wrong

Atom: 1.47.0 x64
Electron: 5.0.13
OS: Unknown Windows version
Thrown From: language-go package 0.47.2

Stack Trace

Failed to load a language-go package grammar

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

Error: The specified module could not be found.
\\?\C:\Users\yesol\AppData\Local\atom\app-1.47.0\resources\app.asar.unpacked\node_modules\tree-sitter-go\build\Release\tree_sitter_go_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-go/index.js:2:20)
    at /app.asar/node_modules/tree-sitter-go/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-go/grammars/tree-sitter-go.json:1:1

Commands

Non-Core Packages


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions