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

ci: use yarn to package VSCode extension #163

Merged
merged 1 commit into from
Jan 28, 2022

Conversation

danielelisi
Copy link
Contributor

@mweichert reported an error when runnig the VS Code extension packaging pipeline.

https://github.com/ecadlabs/taqueria/runs/4987084269?check_suite_focus=true

Screenshot from 2022-01-28 15-17-18

Error: Command failed: npm list --production --parseable --depth=99999 --loglevel=error
npm ERR! code ELSPROBLEMS
npm ERR! missing: typescript@^4.5.4, required by taqueria-protocol@npm:@taqueria/[email protected]

vsce is unable to reference a linked dependency and throws an error. There is an open GH Issue for this problem microsoft/vscode-vsce#203


Using yarn with vsce seems to solve the issue and the extension gets built successfully. I tested this change in this pipeline which completed successfully https://github.com/ecadlabs/taqueria/runs/4987473254?check_suite_focus=true

Screenshot from 2022-01-28 15-49-31

@github-actions
Copy link
Contributor

Git Commit Artifacts
60271b9 Linux
MacOS
Windows
npm package installation instructions
npm install @taqueria/[email protected]
npm install @taqueria/[email protected]
npm install @taqueria/[email protected]
npm install @taqueria/[email protected]

@cloudflare-workers-and-pages
Copy link

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 71a7843
Status:⚡️  Build in progress...

View logs

@github-actions
Copy link
Contributor

Git Commit Artifacts
f197759 Linux
MacOS
Windows
npm package installation instructions
npm install @taqueria/[email protected]
npm install @taqueria/[email protected]
npm install @taqueria/[email protected]
npm install @taqueria/[email protected]

@danielelisi danielelisi merged commit 7b3814d into main Jan 28, 2022
@hu3man hu3man deleted the build_vscode_extension_yarn branch August 5, 2022 18:37
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 this pull request may close these issues.

2 participants