Giter Site home page Giter Site logo

Comments (4)

kLabz avatar kLabz commented on September 21, 2024

I can't repro 🤔
Are you sure nothing is missing here?

from vshaxe.

RblSb avatar RblSb commented on September 21, 2024

start fails here
https://github.com/vshaxe/haxe-language-server/blob/3e8a0cb513554c383bf664a0f7f520b589fe08d3/src/haxeLanguageServer/server/ServerRecording.hx#L247

and then fallbacks to catchError for some reason (??)
https://github.com/vshaxe/haxe-language-server/blob/3e8a0cb513554c383bf664a0f7f520b589fe08d3/src/haxeLanguageServer/server/ServerRecording.hx#L209

from vshaxe.

RblSb avatar RblSb commented on September 21, 2024

If i comment out ret = getSvnState, then it works. I don't have svn command installed
Result from ChildProcess.spawnSync(cmd, args):

{
	error : Error: spawnSync svn ENOENT, 
	status : null, 
	signal : null, 
	output : null, 
	pid : 0, 
	stdout : null, 
	stderr : null
}

So error is TypeError: Cannot read properties of null (reading 'toString') from this line:

return {
		code: p.status,
		out: ((p.status == 0 ? p.stdout : p.stderr) : Buffer).toString().trim()
	};

from vshaxe.

kLabz avatar kLabz commented on September 21, 2024

Ah, right, missing commands 🤦

from vshaxe.

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.