Hey everyone,
I have a plugin which works in development when loading it, but it fails to install as CCX after packaging it through UXP Developer Tools. I get an error: “Couldn’t install plugin, please try again. Error code -2”
Here are the very basic files:
main.js:
const { entrypoints } = require(“uxp”);
entrypoints.setup({
panels: {
translator: {
show(node) {
node.innerHTML = “Plugin loaded successfully
”;
}
}
}
});
manifest.json:
{
“id”: “com.nativ.culturalization”,
“name”: “Nativ Culturalization”,
“version”: “1.0.0”,
“main”: “index.html”,
“host”: {
“app”: “PS”,
“minVersion”: “24.0.0”
},
“manifestVersion”: 5,
“entrypoints”: [
{
“type”: “panel”,
“id”: “translator”,
“label”: {
“default”: “Nativ Culturalization”
},
“icons”: [
{
“width”: 32,
“height”: 32,
“path”: “icons/icon_D.png”
}
]
}
],
“icons”: [
{
“width”: 23,
“height”: 23,
“path”: “icons/dark@1x.png”
}
]
}
How to fix?