fix(兼容性): 更新 seller 项目的 package.json 和 README.md,添加 NODE_OPTIONS 环境变量以支持 Node.js 版本 20 和 18 的运行,详细说明各版本的兼容性和安装要求,优化文档以提升用户体验。

This commit is contained in:
Ryan Ran
2025-09-30 11:04:12 +08:00
parent 8fb87aa64d
commit 16c4a78e29
2 changed files with 84 additions and 23 deletions

View File

@@ -8,9 +8,9 @@
"node": ">=14"
},
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"dev": "vue-cli-service serve"
"serve": "NODE_OPTIONS=--openssl-legacy-provider vue-cli-service serve",
"dev": "NODE_OPTIONS=--openssl-legacy-provider vue-cli-service serve",
"build": "NODE_OPTIONS=--openssl-legacy-provider vue-cli-service build"
},
"dependencies": {
"@amap/amap-jsapi-loader": "0.0.7",