fix: fix build error for nodejs v18 caused by SSL lib

This commit is contained in:
winkidney
2024-09-30 20:27:33 +08:00
parent 6f840a643a
commit e40ddb28cc

View File

@@ -3,9 +3,9 @@
"version": "0.1.0",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint"
"serve": "NODE_OPTIONS=--openssl-legacy-provider vue-cli-service serve",
"build": "NODE_OPTIONS=--openssl-legacy-provider vue-cli-service build",
"lint": "NODE_OPTIONS=--openssl-legacy-provider vue-cli-service lint"
},
"dependencies": {
"axios": "^0.21.2",