Skip to content

issue with tree-sitter #95

Closed
Closed
@JulioJu

Description

@JulioJu

Hi,

When I try to start bash-language-server in command line, I have the following error:

/usr/lib/bash-language-server/node_modules/tree-sitter/index.js:8
    throw e;
    ^

Error: The module '/usr/lib/bash-language-server/node_modules/tree-sitter/build/Release/tree_sitter_runtime_binding.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 67. This version of Node.js requires
NODE_MODULE_VERSION 57. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
    at Object.Module._extensions..node (module.js:682:18)
    at Module.load (module.js:566:32)
    at tryModuleLoad (module.js:506:12)
    at Function.Module._load (module.js:498:3)
    at Module.require (module.js:597:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/usr/lib/bash-language-server/node_modules/tree-sitter/index.js:3:13)
    at Module._compile (module.js:653:30)
    at Object.Module._extensions..js (module.js:664:10)
    at Module.load (module.js:566:32)

As they advise, in /usr/lib/bash-language-server/node_modules/tree-sitter I've executed npm install and npm rebuild without more result.

I've tested with node js lts version 8.13.0.

Thanks in advance :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions