I want to achieve automatic update of plugins, deploy both js and css resources to my own server, and access resources through links on html pages.But Errors are reported from time to time during plugin loading. Happens on MacOS.
First of all, as a heads-up: UXP doesn’t support the execution of “unpackaged” code (for lack of a better term, i.e., JS files that aren’t a part of the original bundle). This limitation is significant if you want to distribute your plugin on the Adobe Marketplace (for internal plugins that you only share as .ccx files, that’s, of course, less of a concern).
Apart from that, it’s unfortunately difficult to help based on this error message alone. Ideally, could you maybe tell/show us:
when it happens (can you consistently reproduce it under some specific conditions?)
any relevant sections of your code
if possible, a minimum reproducible plugin we could look into
Unfortunately, based on the information we currently have, I don’t see a way to provide much help (there is too little information to figure out what’s going wrong). It would be awesome if you could elaborate a little bit and, hopefully, someone might have already seen that error and will be able to help you.