Issue with publishing Alpha plugin

Hi, I have noticed an issue when trying to re-publish an alpha plugin.

At first it works fine without any issues but when making a patch, I get an error related to the path. (node_modules@jatahworx\alpha-cli\commands\publish.js)

So the path doesn’t have the / which causes the path to be invalid.

Current Path: ‘https://alpha.neutrinos-apps.com/marketplace-headless/api/packages61b7c456-d320-4a39-862a-a16b8f4834be

Expected Path: ‘https://alpha.neutrinos-apps.com/marketplace-headless/api/packages/61b7c456-d320-4a39-862a-a16b8f4834be

3 Likes

@tkmateka
construct the url and use in the config, use the below snippet
path will be either null of packageId

let url = "https://alpha.neutrinos-apps.com/marketplace-headless/api/packages"
if (path) {
  url += "/" + path;
}
4 Likes

Can there be a permanent fix so that we don’t have to construct the url?

2 Likes

@vaibhav Please, reply here

1 Like