EclipseFdn / EclipseFdn/publish-extensions

[apollographql.vscode-apollo] Error: Command failed: npm list --production --parseable --depth=99999 --loglevel=error

Open
#87 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
341
Forks
428
Avg merge
40m
Merged PRs (30d)
2

Description

We would like to auto-publish the extension `apollographql.vscode-apollo` from this repository, so we've added this configuration to `extensions.json`:

https://github.com/open-vsx/publish-extensions/blob/dae1cfb57e61fae3677a33ea1e190200510710e8/extensions.json#L62-L69

However, publishing it [currently fails in our GitHub Action](https://github.com/open-vsx/publish-extensions/runs/888299778?check_suite_focus=true), with the following error log:

```
[FAIL] Could not process extension: {
"id": "apollographql.vscode-apollo",
"repository": "https://github.com/apollographql/apollo-tooling",
"version": "1.16.6",
"checkout": "vscode-apollo@1.16.6",
"location": "packages/vscode-apollo",
"prepublish": "npx lerna bootstrap --hoist"
}
Error: Command failed: npm list --production --parseable --depth=99999 --loglevel=error
npm ERR! missing: apollo-env@file:../apollo-env, required by vscode-apollo@1.16.6
npm ERR! missing: apollo-language-server@file:../apollo-language-server, required by vscode-apollo@1.16.6
npm ERR! missing: vscode-languageclient@^5.2.1, required by vscode-apollo@1.16.6
```

I've reported this error in their Spectrum community, but we haven't been able to find a solution yet:

https://spectrum.chat/apollo/graphql-tools/how-to-publish-vscode-apollo-extension-to-openvsx~a67485a1-e8b7-4e23-9b0a-f791b6ba1205

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.