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-javascript package grammar #679

Open
aliengastianty opened this issue Oct 4, 2020 · 1 comment
Open

Failed to load a language-javascript package grammar #679

aliengastianty opened this issue Oct 4, 2020 · 1 comment

Comments

@aliengastianty
Copy link

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.51.0 x64
Electron: 5.0.13
OS: Microsoft Windows 10 Home Single Language
Thrown From: language-javascript package 0.134.1

Stack Trace

Failed to load a language-javascript package grammar

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

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

Commands

Non-Core Packages

platformio-ide-terminal 2.8.4 
@icecream17
Copy link
Contributor

I've noticed this is the same as issue #671, interesting

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

2 participants