You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
./node_modules/.bin/vsce publish -target web --packagePath ./dist/extension.vsix
The following error message is produced:
ERROR Both options not supported simultaneously: 'packagePath' and 'target'.
This error message was not sufficient for me to figure out how to fix the issue. Since I want to apply the 'target' parameter.
It would be convenient if this error message was more actionable and specified how to fix the error. In this case by passing the target flag in the package step.
Proposed new error message:
ERROR 'packagePath' specifies publishing an already created package. If using packagePath the 'target' must be specified when the package is created with vsce package
It would also be helpful to specify this in the vsce publish --help for the target parameter or the packagePath parameter.
The text was updated successfully, but these errors were encountered:
When running the following:
The following error message is produced:
This error message was not sufficient for me to figure out how to fix the issue. Since I want to apply the 'target' parameter.
It would be convenient if this error message was more actionable and specified how to fix the error. In this case by passing the
target
flag in thepackage
step.Proposed new error message:
It would also be helpful to specify this in the
vsce publish --help
for thetarget
parameter or thepackagePath
parameter.The text was updated successfully, but these errors were encountered: