Skip to content

nvm - strange error #392

Closed
Closed
@palandovalex

Description

@palandovalex

I am using nvm, and i installed this package

But when i tried to run it in terminal - i get this stack trace:


Unknown command '/home/apalandov/.nvm/versions/node/v18.1.0/bin/node /home/apalandov/.npm-global/bin/bash-language-server'. Run with -h for help.
(node:1466264) ExperimentalWarning: The Fetch API is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)

node:internal/deps/undici/undici:4816
            throw new TypeError("Failed to parse URL from " + input, { cause: err });
                  ^

TypeError: Failed to parse URL from /home/apalandov/.npm-global/lib/node_modules/bash-language-server/node_modules/web-tree-sitter/tree-sitter.wasm
    at new Request (node:internal/deps/undici/undici:4816:19)
........
      at /home/apalandov/.npm-global/lib/node_modules/bash-language-server/node_modules/web-tree-sitter/tree-sitter.js:1:144 {
    input: '/home/apalandov/.npm-global/lib/node_modules/bash-language-server/node_modules/web-tree-sitter/tree-sitter.wasm',
    code: 'ERR_INVALID_URL'
  }
}

Node.js v18.1.0

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