Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

App logs to stderr "Warning: 'ms-enable-electron-run-as-node' is not in the list of known options, but still passed to Electron/Chromium."

Open Beginner friendly
#563 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
65/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
electron, shell
Domain
desktop

Research direction

Inspect code.sh at lines 69-70, where the Electron launch arguments are assembled. Remove the obsolete option as described, then run the application and verify that stderr no longer contains the known-options warning.

Written by the indexing model from the issue text.

Description

When running this application, the above is written to stderr, which seems to be because this option is no longer supported by vscode as of Chromium v29, which upstream began using in May last year. I believe the following change can be made in these lines (https://github.com/flathub/com.visualstudio.code/blob/e0e3f21b28330f31729e7b6eed5341d5e4390f0e/code.sh#L69-L70):

-   --ms-enable-electron-run-as-node --extensions-dir=${XDG_DATA_HOME}/vscode/extensions \
-   "$@" ${WARNING_FILE}
+   --extensions-dir=${XDG_DATA_HOME}/vscode/extensions "$@" ${WARNING_FILE}

This could be achieved by applying the above diff, or by simply reverting ad2d7c8edbf45d7e9e6a779d2e5a72c1761a6491, which added the now-defunct option.

Dominant language
Shell
Stars
216
Forks
82
Avg merge
1d 7h
Merged PRs (30d)
1

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.

More from flathub/com.visualstudio.code

All issues in flathub/com.visualstudio.code

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.