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

2.6.0 gives entrypoint missing error during packaging #677

Closed
bpringe opened this issue Jan 2, 2022 · 3 comments
Closed

2.6.0 gives entrypoint missing error during packaging #677

bpringe opened this issue Jan 2, 2022 · 3 comments

Comments

@bpringe
Copy link

bpringe commented Jan 2, 2022

With the Calva extension, version 2.6.0 of vsce causes the following error when running npx vsce package --githubBranch published:

 ERROR  Extension entrypoint(s) missing. Make sure these files exist and aren't ignored by '.vscodeignore':
  extension/out/extension

When I use vsce version 2.5.3, packaging completes successfully.

@bpringe
Copy link
Author

bpringe commented Jan 2, 2022

For more context, Calva's .vscodeignore blacklists everything and then whitelists files.

# Put everything on the blacklist by default
*
*/**
**/.DS_Store
*/**/.DS_Store

# Whitelist
!language-configuration.json
!clojure.tmLanguage.json
!assets/**
!out/**
!package.json
!README.md
!CHANGELOG.md
!LICENSE
!clojure-lsp.jar
!deps.clj.jar
!bundled/**

It seems like !out/** would cause extension/out/extension to be included, but maybe I'm missing something? I'm assuming the context of the .vscodeignore is within extension/. Is that correct?

@joaomoreno
Copy link
Member

Duplicate of #675

@joaomoreno joaomoreno marked this as a duplicate of #675 Jan 3, 2022
@bpringe
Copy link
Author

bpringe commented Jan 4, 2022

I don't know how I didn't notice that. Thanks for informing me.

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