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

Cannot build vsix locally #846

Closed
1 task done
mweichert opened this issue Jun 7, 2022 · 1 comment
Closed
1 task done

Cannot build vsix locally #846

mweichert opened this issue Jun 7, 2022 · 1 comment
Assignees
Labels
bug Something isn't working triage Requires triage VsCE Vs Code Extension Related Work

Comments

@mweichert
Copy link
Collaborator

What happened?

If our vscode extension is adjusted to use versions of NPM packages that aren't yet published on npmjs.com then we cannot build a vsix using the vsce tool:

npx vsce package --no-update-package-json --no-git-tag-version

Output:

npm ERR! missing: @taqueria/protocol@^0.4.0, required by taqueria-vscode@0.4.0
npm ERR! missing: comment-json@^4.1.1, required by taqueria-vscode@0.4.0
npm ERR! missing: promise-memoize@^1.2.1, required by taqueria-vscode@0.4.0
npm ERR! missing: rambda@^7.0.1, required by taqueria-vscode@0.4.0

This is an known issue with this tool:
microsoft/vscode-vsce#203

What should have happened?

We should be able to build a vsix file using the vsce tool. FYI, the --no-dependencies doesn't work either, as you just get a corrupt build.

I think we can probably fork the vsce tool to add support for npm linked packages.

Steps to reproduce the bug

Checkout e3a100b and run npx vsce package --no-update-package-json --no-git-tag-version from the taqueria-vscode-extension directory.

Relevant log output

No response

Screenshots and images

Screenshot and images

Code of Conduct

  • I agree to follow this project's Code of Conduct
@mweichert mweichert added bug Something isn't working triage Requires triage labels Jun 7, 2022
@ac10n ac10n added the VsCE Vs Code Extension Related Work label Oct 27, 2022
@mweichert
Copy link
Collaborator Author

Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage Requires triage VsCE Vs Code Extension Related Work
Projects
None yet
Development

No branches or pull requests

2 participants