I am running into issues getting the react-starter
template working. I have checked other threads on similarly-named issues already, and I did not see anything that applied to my particular case:
I am on Mac OS Ventura 13.1.
These are the steps that are creating the problem:
- Open UDT, create a new plugin, select
react-starter
. - Set all the appropriate names of the project, set the target version of photoshop to my current one.
- I go into the
readme.md
in the directory. My npm version is 8.19.2. My node version is v18.12.1. - I check to make sure that the terminal is in the root of the directory, and then type
npm install
. - I have 6 high-severity vulnerabilities after running it. I am opting out of using
npm audit fix --force
as it may introduce some breaking changes, and I am trying to minimize the number of possible ways that this program might break via deviating from the instructions.
I believe the readme is incorrect when recommending that I type npm build
. When I do that, I get the error:
Unknown command: "build"
Did you mean this?
npm run build # run the "build" package script
- So I type
npm run build
, which produces another error:
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
I understand the importance of reading the documentation, and thatâs what Iâve been extensively doing, but it seems that the documentation is incorrect, here, as I am unable to get the basic template running, following the instructions of the readme.md
exactly.
What is causing this to break?
One of the things I tried: run npm audit fix --force
anyway, which produces the following error:
npm ERR! Invalid Version: npm:acorn-with-stage3
I am out of ideas, as google searches yield scarce results. I am also using the book âAdobe UXP Plugins Development with React JSâ by Davide Barranca, including reading his blog and reading into possible breaking changes between Manifest V4 and V5. Specifically, the way show()
is handled.
I read through this link and it looks like react-starter has been updated and no longer reflects things that would have broken, so I am guessing that it does not relate to this.
So, I am thoroughly out of ideas. My goal is to just get the react-starter
template working as intended, so that I can have an empty framework.
Should I, instead, use a different starter template?