美文网首页
快应用node版本过高问题解决

快应用node版本过高问题解决

作者: 小笨憨 | 来源:发表于2023-01-09 10:49 被阅读0次

    package.json文件中添加
    {
    "dependencies": {
    "apex-ui": "^1.9.5",
    "blueimp-md5": "^2.19.0"
    },
    "scripts": {
    "fa-build": "node node_modules/webpack/bin/webpack.js --config ./node_modules/fa-toolkit/webpack.config.js",
    "fa-watch": "node node_modules/webpack/bin/webpack.js --watch --config ./node_modules/fa-toolkit/webpack.config.js",
    "fa-release": "node ./node_modules/cross-env/src/bin/cross-env.js uglifyjs=true sign=release node_modules/webpack/bin/webpack.js --config ./node_modules/fa-toolkit/webpack.config.js",
    /*终端执行 export NODE_OPTIONS=--openssl-legacy-provider 然后添加下面的这行解决node版本过高/
    "dev_t": "set NODE_OPTIONS="--openssl-legacy-provider" & npm run dev\n"
    },
    "devDependencies": {
    "@types/quickapp": "npm:quickapp-interface@^1.0.0",
    "cross-env": "^7.0.2",
    "fa-toolkit": "^12.7.1-Stable.300"
    },
    "browserslist": [
    "chrome 65"
    ]
    }

    相关文章

      网友评论

          本文标题:快应用node版本过高问题解决

          本文链接:https://www.haomeiwen.com/subject/lybpcdtx.html