antd-admin
antd-admin copied to clipboard
npm run start doesn't work
It wouldn't start with the step-by-step guide provided.
Opted to add this (see below) but it didn't work either.
Thanking you in advance if you could provide further information of how to deploy this template properly
--openssl-legacy-provider
is just a tip, just google and then solution come out.
Here's the solution, for nodejs >= 18.x.
Windows: (two step in terminal)
-
set NODE_OPTIONS=--openssl-legacy-provider
-
npm run dev
Linux: export NODE_OPTIONS=--openssl-legacy-provider && umi dev
keep it open for convenience
windows:
"start": "set NODE_OPTIONS=--openssl-legacy-provider && umi dev",
still doesn`t work
@liukx-kellen show the error, use my solution?