antd-admin icon indicating copy to clipboard operation
antd-admin copied to clipboard

npm run start doesn't work

Open caapontedev opened this issue 2 years ago • 5 comments

image

It wouldn't start with the step-by-step guide provided.

Opted to add this (see below) but it didn't work either.

image

Thanking you in advance if you could provide further information of how to deploy this template properly

caapontedev avatar Feb 27 '23 17:02 caapontedev

--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)

  1. set NODE_OPTIONS=--openssl-legacy-provider
  2. npm run dev

Linux: export NODE_OPTIONS=--openssl-legacy-provider && umi dev

superlbr avatar Feb 28 '23 04:02 superlbr

keep it open for convenience

superlbr avatar Feb 28 '23 04:02 superlbr

windows: "start": "set NODE_OPTIONS=--openssl-legacy-provider && umi dev",

Guaguawa1581 avatar May 07 '23 14:05 Guaguawa1581

still doesn`t work

liukx-kellen avatar Jan 11 '24 07:01 liukx-kellen

@liukx-kellen show the error, use my solution?

superlbr avatar Jan 12 '24 07:01 superlbr