youzan / zan-proxy

An extensible proxy for PC/Mobile/APP developer

Home Page:https://youzan.github.io/zan-proxy/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

4.0.27在mac上启动报错

itlixiaolong opened this issue · comments

node:33219) UnhandledPromiseRejectionWarning: Error: EACCES: permission denied, open '/usr/local/share/.config/yarn/global/node_modules/zan-proxy/dist/bin/zanproxy.last-check.tmp'
at Object.openSync (fs.js:448:3)
at Object.writeFileSync (fs.js:1248:35)
at Object.set (/usr/local/share/.config/yarn/global/node_modules/zan-proxy/dist/bin/selfUpdate.js:46:22)
at Object. (/usr/local/share/.config/yarn/global/node_modules/zan-proxy/dist/bin/selfUpdate.js:56:19)
at Generator.next ()
at /usr/local/share/.config/yarn/global/node_modules/zan-proxy/dist/bin/selfUpdate.js:7:71
at new Promise ()
at __awaiter (/usr/local/share/.config/yarn/global/node_modules/zan-proxy/dist/bin/selfUpdate.js:3:12)
at Object.exports.default (/usr/local/share/.config/yarn/global/node_modules/zan-proxy/dist/bin/selfUpdate.js:50:25)
at /usr/local/share/.config/yarn/global/node_modules/zan-proxy/dist/bin/index.js:35:39
(node:33219) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:33219) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Rong360-MacBook331:~ lixiaolong02$ zan-proxy --version
4.0.27