Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Distinct(?) 'TypeError: Path must be a string. Received null' #51

Closed
idmyn opened this issue Aug 8, 2018 · 2 comments
Closed

Distinct(?) 'TypeError: Path must be a string. Received null' #51

idmyn opened this issue Aug 8, 2018 · 2 comments

Comments

@idmyn
Copy link

idmyn commented Aug 8, 2018

I've just installed VS Code (macOS) and this extension but received an error upon editing a JavaScript file. I'm not sure if it's distinct from issue #49 - forgive me if I'm missing something. I've tried uninstalling all other extensions to no avail. Any ideas how I could fix this?

Error message pasted below. The TypeError is repeated five times and followed by a notification that the server will not be restarted.

TypeError: Path must be a string. Received null
    at assertPath (path.js:7:11)
    at Object.join (path.js:1211:7)
    at Package.isDependency (/Users/david/.vscode/extensions/samverschueren.linter-xo-2.2.2/server/out/package.js:11:48)
    at Linter.validate (/Users/david/.vscode/extensions/samverschueren.linter-xo-2.2.2/server/out/server.js:122:27)
    at Linter.validateSingle (/Users/david/.vscode/extensions/samverschueren.linter-xo-2.2.2/server/out/server.js:114:21)
    at Object.Linter.messageQueue.onNotification.document [as handler] (/Users/david/.vscode/extensions/samverschueren.linter-xo-2.2.2/server/out/server.js:23:18)
    at BufferedMessageQueue.processQueue (/Users/david/.vscode/extensions/samverschueren.linter-xo-2.2.2/server/out/bufferedMessageQueue.js:117:18)
    at Immediate.timer.setImmediate (/Users/david/.vscode/extensions/samverschueren.linter-xo-2.2.2/server/out/bufferedMessageQueue.js:80:18)
    at runCallback (timers.js:672:20)
    at tryOnImmediate (timers.js:645:5)
[Info  - 08:07:33] Connection to server got closed. Server will restart.
/Users/david/.vscode/extensions/samverschueren.linter-xo-2.2.2/server/out/package.js:20
            throw err;
            ^

The XO Linter server crashed 5 times in the last 3 minutes. The server will not be restarted.

@idmyn idmyn changed the title Seemingly distinct 'TypeError: Path must be a string. Received null' Distinct(?) 'TypeError: Path must be a string. Received null' Aug 8, 2018
@yakov116
Copy link

yakov116 commented Aug 3, 2021

@idmyn are you still having an issue?

@idmyn
Copy link
Author

idmyn commented Aug 14, 2021

Haven't used this extension in years so not sure if the issue is fixed but I'm happy to close

@idmyn idmyn closed this as completed Aug 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants