-
Notifications
You must be signed in to change notification settings - Fork 204
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
vsce finding wrong files without --yarn
option
#381
Comments
Does it have a |
The extension is here, the
|
This packages just fine for me. Do you have more files in your local copy of that repository? Any symlinks? |
No symlinks in the repo, but I've moved the npm stuff with the |
I'm having the same problem in a monorepo that does have symlink to the sibling packages, but where I'm trying to ignore them by including |
@flimberger Is this still problematic? |
I have to check again, but in the meantime my platform migrated to Ubuntu 20.04. I will get back to you when I tested it. |
Sure, let me know. |
I also have the same problem. is there a solution to this? |
I cannot reproduce the issue anymore with vsce version 2.7.0 and node version v16.15.0 installed from snap on Ubuntu 20.04. |
That assessment was too soon, running |
Was getting this same issue and |
Experiencing the same issue because of npm links, might be related to #308 |
When packaging my extension, vsce failed with the following error message:
Running
vsce
reveals that it tries to pack up the whole global node_modules directory of my user:Adding the
--yarn
flag produces the expected behaviour and works in the current directory:My extension doesn't contain any code, therefore I expected the packaging progess to be agnostic to whether npm or yarn is used.
Platform: Ubuntu 18.04
Version: 1.66.0
Environment:
NPM configuration:
The text was updated successfully, but these errors were encountered: