求教下,eggJs咋个才能操作下 --tls-min-v1.0 ?大佬教下。
发布于 4 年前 作者 MonsterRHD 4678 次浏览 来自 问答

因为那个腾讯CMQ的队列服务在V12版本下,一直报错routines:ssl_choose_client_version:unsupported protocol: ,查了下 是需要 在node刚开始运行的时候 需要 --tls-min-v1.0 ,在 package.json里 “scripts”: { “start”: “egg-scripts start --daemon --title=egg-server-example --tls-min-v1.0”, “stop”: “egg-scripts stop --title=egg-server-example”, “dev”: “egg-bin dev --tls-min-v1.0”, “debug”: “egg-bin debug”, “test”: “npm run lint – --fix && npm run test-local”, “test-local”: “egg-bin test”, “cov”: “egg-bin cov”, “lint”: “eslint .”, “ci”: “npm run lint && npm run cov”, “autod”: “autod” }, 也不起作用,求大佬教下

1 回复

NODE_OPTION 这个环境变量

回到顶部