安装模块 node-gpy 报错
发布于 2 年前 作者 Rock-1 2155 次浏览 来自 问答
➜  uploads git:(master) ✗ npm i win32com -g

> [email protected] install /usr/local/lib/node_modules/win32com/node_modules/node-proxy
> node-gyp configure build

gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: read ECONNRESET
gyp ERR! stack     at exports._errnoException (util.js:1024:11)
gyp ERR! stack     at TLSWrap.onread (net.js:610:25)
gyp ERR! System Darwin 15.5.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"
gyp ERR! cwd /usr/local/lib/node_modules/win32com/node_modules/node-proxy
gyp ERR! node -v v8.2.1
gyp ERR! node-gyp -v v3.6.0
gyp ERR! not ok
/usr/local/lib
└── (empty)

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-gyp configure build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp configure build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the node-proxy package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp configure build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs node-proxy
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls node-proxy
npm ERR! There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/fzy/.npm/_logs/2017-09-20T09_50_23_309Z-debug.log
回到顶部