diff --git a/ruoyi-ui/package.json b/ruoyi-ui/package.json index 99f2bb8c..ca1158e8 100644 --- a/ruoyi-ui/package.json +++ b/ruoyi-ui/package.json @@ -5,9 +5,9 @@ "author": "若依", "license": "MIT", "scripts": { - "dev": "vue-cli-service serve", - "build:prod": "vue-cli-service build", - "build:stage": "vue-cli-service build --mode staging", + "dev": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve", + "build:prod": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build", + "build:stage": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build --mode staging", "preview": "node build/index.js --preview", "lint": "eslint --ext .js,.vue src" },