Cannot install simple plugin as CCX

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?

  1. Use code blocks with three backticks (```) for code instead of quote blocks
  2. Did you try searching?

after lots of search and trial & error, turns out I needed to put the ccx inside Applications on mac. no idea why that’s the case, hope it helps others!

Can you put the link of where this application for mac is located?