-
-
Notifications
You must be signed in to change notification settings - Fork 13
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 verify-pat does not seem to use publisher
from package.json
#341
Comments
Can you try running vsce verify-pat in your command line to check the validity of your token? |
Oh, I think you did already. Thanks. |
This may be an incompatibility with pnpm. Can you try using npm just to confirm? |
would it be okay to just change to npx? or should i change the whole workflow to use npm? |
It would work if it were yarn, but I'm not sure for pnpm. That's because, AFAIK, pnpm builds the node_modules folder by using symlinks instead of actual files. |
We have found a similar issue earlier: |
oh, maybe it could be relevent, on pnpm vsce must be ran with |
You can try it to disable dependencies, check: |
I also noticed that your |
Do you see that when you ran Nevertheless, try replacing your PATH="${PWD}/node_modules/.bin:${PATH}" pnpx semantic-release I suspect that it may fix the issue. |
Try this first though. This would explain why pnpx downloads |
I tried adding devDependencies, but it did not work. will try using the path method. |
alright, it still fails but vsce-pat works. |
https://github.com/scarf005/Cataclysm-BN-tools/actions/runs/3256670022/jobs/5347399236 I wonder why this error happens:
|
oh nevermind, it indeed was |
Just to summarize, you had to put PATH in the command line. Right? |
wait, for some reason this workflow file worked without setting up PATH: https://github.com/scarf005/Cataclysm-BN-tools/actions/runs/3258033799/workflow some differences i could think of is that
|
I think it's the first measure which actually fixed the issue. |
pnpx is deprecated, I think it can be changed to I suspect it would work this way. |
Log
.releaserc.yml
I've correctly set up
publisher
asscarf
in my package.json, however it fails with an error.The text was updated successfully, but these errors were encountered: