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

Document vsce as a development requirement #139

Closed
auxym opened this issue Nov 20, 2024 · 1 comment
Closed

Document vsce as a development requirement #139

auxym opened this issue Nov 20, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@auxym
Copy link

auxym commented Nov 20, 2024

Describe the bug

Sorry, I'm new to developing VS Code extensions :)

I read and followed the contribution guide, but failed to package the extension. Upon investigation, I found:

vsce: command not found

After running npm install -g @vscode/vsce I was able to successfully run the package task and create the VSIX file.

I would have created a PR for this, but I'm not sure if the vsce requirement should go in package.json, in build.sh (run the npm install command) or simply documented as a requirement in the contribution guide. If you let me know your preference I can submit a quick PR.

To Reproduce

  • Fresh install of vscode/npm/dotnet SDK
  • Follow the contribution guide

Avalonia for VS Code

master branch

Avalonia version

NA

VS Code version

1.95.3

Relevant log output

Creating output directory: C:\Users\thef2102\source\AvaloniaVSCode/output/
Packaging extension to C:\Users\thef2102\source\AvaloniaVSCode/output/
C:\Users\thef2102\source\AvaloniaVSCode/.vscode/package.sh: line 23: vsce: command not found
 *  Terminal will be reused by tasks, press any key to close it.

Additional context

No response

@auxym auxym added the bug Something isn't working label Nov 20, 2024
@MikeCodesDotNET
Copy link
Member

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
Projects
None yet
Development

No branches or pull requests

2 participants