Skip to content

Commit

Permalink
fix: 修复高版本node无法正常启动
Browse files Browse the repository at this point in the history
  • Loading branch information
lingting committed Nov 8, 2024
1 parent 0057520 commit a5f1380
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"private": true,
"description": "Ballcat",
"scripts": {
"start": "cross-env PORT=9002 HOST=0.0.0.0 REACT_APP_ENV=start UMI_ENV=dev umi dev",
"start:uat": "cross-env PORT=9002 HOST=0.0.0.0 REACT_APP_ENV=start UMI_ENV=uat umi dev",
"start:prod": "cross-env PORT=9002 HOST=0.0.0.0 REACT_APP_ENV=start UMI_ENV=prod umi dev",
"start": "cross-env NODE_OPTIONS=--openssl-legacy-provider PORT=9002 HOST=0.0.0.0 REACT_APP_ENV=start UMI_ENV=dev umi dev",
"start:uat": "cross-env NODE_OPTIONS=--openssl-legacy-provider PORT=9002 HOST=0.0.0.0 REACT_APP_ENV=start UMI_ENV=uat umi dev",
"start:prod": "cross-env NODE_OPTIONS=--openssl-legacy-provider PORT=9002 HOST=0.0.0.0 REACT_APP_ENV=start UMI_ENV=prod umi dev",
"build": "cross-env UMI_ENV=dev umi build",
"build:uat": "cross-env UMI_ENV=uat umi build",
"build:prod": "cross-env UMI_ENV=prod umi build",
Expand Down

0 comments on commit a5f1380

Please sign in to comment.