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

Bootstrapping dev env fails due to vscode package changes #189

Open
ilkka opened this issue Apr 25, 2021 · 2 comments
Open

Bootstrapping dev env fails due to vscode package changes #189

ilkka opened this issue Apr 25, 2021 · 2 comments

Comments

@ilkka
Copy link

ilkka commented Apr 25, 2021

I just noticed that npm install in a fresh copy of vscode-org-mode fails with

> org-mode@1.1.0-SNAPSHOT postinstall
> node ./node_modules/vscode/bin/install

Detected VS Code engine version: ^1.23.0
Error installing vscode.d.ts: Error: Request returned status code: 404
Details: <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>Cannot GET /api/releases/stable</pre>
</body>
</html>

npm ERR! code 1

It seems that this is related to the vscode package being deprecated. I found this very similar issue reported in microsoft/vscode, which links to this older issue that in turn has this detailed comment with two suggested solutions.

Would a PR for the vscode to @types/vscode + vscode-test migration be welcome? I haven't looked much into it but based on the migration guide it shouldn't be too horrible 😅

@ilkka
Copy link
Author

ilkka commented Apr 25, 2021

Just noticed that package-lock.json seems to be at version 1, is this project purposefully using npm 6.x? IIRC v2 came with npm 7.x.

@zetashift
Copy link
Contributor

Of course a PR would be welcome! Thank you for taking a look at this.

As for this project purposefully using npm 6.x, it isn't, but it's in dire need of some updating and cleaning up.

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