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

Error using VS Code and Windows 10 / "Windows cannot find --goto" #13

Closed
SphinxKnight opened this issue Dec 19, 2020 · 0 comments · Fixed by #14
Closed

Error using VS Code and Windows 10 / "Windows cannot find --goto" #13

SphinxKnight opened this issue Dec 19, 2020 · 0 comments · Fixed by #14

Comments

@SphinxKnight
Copy link
Contributor

SphinxKnight commented Dec 19, 2020

Steps to reproduce:

  1. Set up the EDITOR environment variable to code on a Windows 10 machine with VS Code installed
  2. Run npm install open-editor in a directory
  3. Load a node console
  4. Import the package
  5. Use the function to open a file in the editor

Actual result:

A Windows error popup appears stating (pardon my French installation) "Windows cannot find '--goto'."

Expected result:

VS Code should spawn with the file opened

Additional information:

image

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

Successfully merging a pull request may close this issue.

1 participant