# Errors after I did some (Mac) updates - My script no longer runs

**URL:** <https://forums.creativeclouddeveloper.com/t/errors-after-i-did-some-mac-updates-my-script-no-longer-runs/5936>\
**Category:** UXP Plugin API\
**Tags:** javascript\
**Created:** [February 27, 2023, 7:06pm UTC](https://forums.creativeclouddeveloper.com/t/errors-after-i-did-some-mac-updates-my-script-no-longer-runs/5936 "2023-02-27T19:06:51Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![contactzero](https://avatars.discourse-cdn.com/v4/letter/c/9f8e36/32.png) [@contactzero](https://forums.creativeclouddeveloper.com/u/contactzero)\
**Post date:** [February 27, 2023, 7:06pm UTC](https://forums.creativeclouddeveloper.com/t/errors-after-i-did-some-mac-updates-my-script-no-longer-runs/5936/1 "2023-02-27T19:06:51Z")

</div>

What has changed? My script has been working great for months before some updates.

Mac Ventura 13.2.1  
PS 24.2  
UXP Dev Tool 1.8.0

My manifest:

```auto
{
    "id": "LacyStudioPrintPro2",
    "name": "Canvas Pro 2.2",
    "version": "2.2.0",
    "main": "index.html",
    "host": [{
        "app": "PS",
        "minVersion": "24.2.0 ",
        "data": {
        "apiVersion": 2
        }
    }],
    "manifestVersion": 4,
    "entrypoints": [
        {
            "type": "command",
            "id": " ",
            "label": "Reload Plugin"
        },
        {
            "type": "panel",
            "id": "PrintPro2:",

```

[/Users/geofflacy1/Downloads/Screenshot 2023-02-27 at 19.55.57.png](https:///Users/geofflacy1/Downloads/Screenshot 2023-02-27 at 19.55.57.png)

[/Users/geofflacy1/Downloads/Screenshot 2023-02-27 at 19.55.06.png](https:///Users/geofflacy1/Downloads/Screenshot 2023-02-27 at 19.55.06.png)

---

<div class="post-metadata">

**Author:** ![contactzero](https://avatars.discourse-cdn.com/v4/letter/c/9f8e36/32.png) [@contactzero](https://forums.creativeclouddeveloper.com/u/contactzero)\
**Post date:** [February 27, 2023, 7:08pm UTC](https://forums.creativeclouddeveloper.com/t/errors-after-i-did-some-mac-updates-my-script-no-longer-runs/5936/3 "2023-02-27T19:08:18Z")

</div>

![Screenshot 2023-02-27 at 19.55.06](https://us1.discourse-cdn.com/flex015/uploads/xdplugins/original/2X/f/ff9ff9cd82a4d95d407da1dc624137dbed97e7b9.jpeg)

---

<div class="post-metadata">

**Author:** ![DavideBarranca](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/davidebarranca/32/1523_2.png) [@DavideBarranca](https://forums.creativeclouddeveloper.com/u/DavideBarranca)\
**Post date:** [February 27, 2023, 9:07pm UTC](https://forums.creativeclouddeveloper.com/t/errors-after-i-did-some-mac-updates-my-script-no-longer-runs/5936/4 "2023-02-27T21:07:30Z")

</div>

I’m a bit puzzled, is the screenshot you’ve posted saying “ExtendScript debugger”, while yours is UXP Scripting code?

---

<div class="post-metadata">

**Author:** ![contactzero](https://avatars.discourse-cdn.com/v4/letter/c/9f8e36/32.png) [@contactzero](https://forums.creativeclouddeveloper.com/u/contactzero)\
**Post date:** [February 28, 2023, 6:51am UTC](https://forums.creativeclouddeveloper.com/t/errors-after-i-did-some-mac-updates-my-script-no-longer-runs/5936/5 "2023-02-28T06:51:32Z")

</div>

Sorry, I uploaded the wrong screen print.

---

<div class="post-metadata">

**Author:** ![contactzero](https://avatars.discourse-cdn.com/v4/letter/c/9f8e36/32.png) [@contactzero](https://forums.creativeclouddeveloper.com/u/contactzero)\
**Post date:** [February 28, 2023, 7:01am UTC](https://forums.creativeclouddeveloper.com/t/errors-after-i-did-some-mac-updates-my-script-no-longer-runs/5936/6 "2023-02-28T07:01:50Z")

</div>

![Screenshot 2023-02-28 at 07.58.44](https://us1.discourse-cdn.com/flex015/uploads/xdplugins/original/2X/6/6bba1f2e8bc0281950f08f4fdbd03496d781859d.png)

DevTools Failed to load… Why? What’s changed? Is it a permissions thing with Ventura?

---

<div class="post-metadata">

**Author:** ![contactzero](https://avatars.discourse-cdn.com/v4/letter/c/9f8e36/32.png) [@contactzero](https://forums.creativeclouddeveloper.com/u/contactzero)\
**Post date:** [February 28, 2023, 6:38pm UTC](https://forums.creativeclouddeveloper.com/t/errors-after-i-did-some-mac-updates-my-script-no-longer-runs/5936/7 "2023-02-28T18:38:09Z")

</div>

Found the solution myself.

- I created a new vanilla plugin.
- copy / pasted my index.js to the new plugin.
- copy / pasted my index.html to the new plugin.

Here I noticed the manifest.json file has been streamlined in the new vanilla version I just created.  
(some old UXP patches such as “host” : data: {“apiVersion”: 2} that I had have been removed in the new vanilla).

Anyway, Just using the new plain vanilla manifest.json file fixed the error ! ✅

[solved]
