Skip to content

Unable to run pyls with VS code #834

Open
@CHRC-Int

Description

@CHRC-Int

Hello

I'm trying to get develop this against VS code but when I run yarn install I'm warned that

yarn install v1.22.4
[1/5] Validating package.json...
warning [email protected]: The engine "vscode" appears to be invalid.
[2/5] Resolving packages...
success Already up-to-date.
$ node ./node_modules/vscode/bin/install
Detected VS Code engine version: ^1.15.0
Found minimal version that qualifies engine range: 1.15.0
Fetching vscode.d.ts from: https://raw.githubusercontent.com/Microsoft/vscode/8b95971d8cccd3afd86b35d4a0e098c189294ff2/src/vs/vscode.d.ts
vscode.d.ts successfully installed!

and if I later try yarn run vscode I get

yarn run v1.22.4
warning [email protected]: The engine "vscode" appears to be invalid.
$ npm run vscode:prepublish && VSCODE=$(which code-insiders || which code || echo echo ERROR: neither the code nor code-insiders vscode executable is installed); USER=dummy-dont-share-vscode-instance $VSCODE --user-data-dir=$PWD/.vscode-dev/user-data --extensionHomePath=$PWD/.vscode-dev/extensions --extensionDevelopmentPath=$PWD $* ..
npm WARN lifecycle The node binary used for scripts is /tmp/yarn--1595363275707-0.8429611618286397/node but npm is using /usr/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.

> [email protected] vscode:prepublish /home/cesally/python-language-server/vscode-client
> tsc -p ./

/bin/sh: 1: /mnt/c/Users/cchak/AppData/Local/Programs/Microsoft: not found
error Command failed with exit code 127.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Any help resolving this would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions