You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages
Description
When starting Atom on CentOS 7/RHEL 7, this package fails to load and the following error is shown.
Stack Trace
Failed to load a language-shellscript package grammar
At /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/share/atom/resources/app.asar.unpacked/node_modules/tree-sitter-bash/build/Release/tree_sitter_bash_binding.node) in /usr/share/atom/resources/app.asar/node_modules/language-shellscript/grammars/tree-sitter-bash.json
Error: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/share/atom/resources/app.asar.unpacked/node_modules/tree-sitter-bash/build/Release/tree_sitter_bash_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 (/usr/share/atom/resources/app/static/<embedded>:11:146814)
at /app.asar/node_modules/tree-sitter-bash/index.js:2:20)
at /app.asar/node_modules/tree-sitter-bash/index.js:15:3)
at Module.get_Module._compile (/usr/share/atom/resources/app/static/<embedded>:11:147498)
at Object.value [as .js] (/usr/share/atom/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 (/usr/share/atom/resources/app/static/<embedded>:1:695413)
at new TreeSitterGrammar (/usr/share/atom/resources/app/static/<embedded>:11:3112590)
at GrammarRegistry.createGrammar (/usr/share/atom/resources/app/static/<embedded>:11:360436)
at /usr/share/atom/resources/app/static/<embedded>:11:360277
at u (/usr/share/atom/resources/app/static/<embedded>:11:580990)
at /usr/share/atom/resources/app/static/<embedded>:11:582243
at electron/js2c/asar.js:571:9
at FSReqCallback.wrapper [as oncomplete] (fs.js:483:5)
at /app.asar/node_modules/language-shellscript/grammars/tree-sitter-bash.json:1:1
Steps to Reproduce
(Should be obvious so please forgive me for skipping this part)
Expected behavior: Actual behavior: Reproduces how often: 100%
There are a couple of issue reports in comments at #142, which I believe is originally a different issue, so I'm going to open this issue instead. But those comments could be relevant to this issue.
Prerequisites
Description
When starting Atom on CentOS 7/RHEL 7, this package fails to load and the following error is shown.
Stack Trace
Failed to load a language-shellscript package grammar
Steps to Reproduce
(Should be obvious so please forgive me for skipping this part)
Expected behavior:
Actual behavior:
Reproduces how often: 100%
Versions
Atom: 1.49.0 x64
Electron: 5.0.13
Chrome : 73.0.3683.121
Node: 12.0.0
OS: CentOS Linux release 7.8.2003 (3.10.0-1062.18.1.el7.x86_64)
Thrown From: language-shellscript package 0.28.2
Additional Information
There are a couple of issue reports in comments at #142, which I believe is originally a different issue, so I'm going to open this issue instead. But those comments could be relevant to this issue.