microsoft / microsoft/TypeScript-Sublime-Plugin

this line has an error 'module' object has no attribute 'DEVNULL'

Open
#621 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.7k
Forks
236
Avg merge
21d 13h
Merged PRs (30d)
1

Description

https://github.com/Microsoft/TypeScript-Sublime-Plugin/blob/eb57cebd62d0c2ea2c17d222c8c1c3cefa40f31b/typescript/libs/node_client.py#L273

I have an nvm installed node without the 'system' one.
This plugin is making a continuous message: 140735793390528: ERROR: can not send request; node process not running;

I do make a node_env plugin and it's still stalling. so I debugged found that this line is corrupt with exception: 'module' object has no attribute 'DEVNULL'

I don't have decent knowledge of python to understand what's going on.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with typescript/libs/node_client.py at line 273 and reproduce the plugin's continuous "node process not running" message in the reported nvm-only setup. Inspect why the referenced module lacks DEVNULL and verify that the node process starts without that exception; the issue does not mention a test file.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js, python
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.