Giter Site home page Giter Site logo

Comments (5)

manateelazycat avatar manateelazycat commented on September 22, 2024

https://github.com/manateelazycat/lsp-bridge#report-bug

from lsp-bridge.

claidler avatar claidler commented on September 22, 2024

Thanks @manateelazycat. I'm going to close this. I'm getting an error from eslint when running the lsp server.
Uncaught exception Received.
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined

it's occuring at eslint.js 1192:21

Looks like node path variable is empty for some reason, coming from the settings object. I think it's related to my specific setup - using Volta with WSL2. It's probably not sure where to look exactly

from lsp-bridge.

claidler avatar claidler commented on September 22, 2024

Yeah I think related to this:
volta-cli/volta#1119
I'll try removing Volta for nvm

from lsp-bridge.

claidler avatar claidler commented on September 22, 2024

Reopening this as it didn't work with nvm either. On further investigation I wonder if we need some adjustments here?
nodePath is currently set to null, but it seems that the nodePath needs to be set:
https://github.com/microsoft/vscode-eslint#version-2118

https://github.com/manateelazycat/lsp-bridge/blob/master/langserver/vscode-eslint-language-server.json#L36C17-L36C21

I can just follow your instructions here - https://github.com/manateelazycat/lsp-bridge#customize-language-server-configuration-file, but I wonder if it could be good for us to get this working by default. Maybe it does for others? I'm not sure.

from lsp-bridge.

claidler avatar claidler commented on September 22, 2024

actually this setting is for if an installed eslint can't be detected

from lsp-bridge.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.