1

我正在尝试安装项目的所有依赖项,其中包括 - “handbrake-js”:“^1.1.8”。

这是我在 npm-install 上遇到的错误:

> handbrake-js@1.1.9 postinstall C:\uploader\uploader\node_modules\handbrake-js
> node scripts/install.js

fetching: http://sourceforge.net/projects/handbrake/files/0.9.9/HandBrake-0.9.9-x86_64-Win_CLI.zip/download
extracting: unzipped\HandBrakeCLI.exe
events.js:183
      throw er; // Unhandled 'error' event
      ^

Error: invalid signature: 0x6f64213c
    at C:\uploader\uploader\node_modules\unzip\lib\parse.js:59:13
    at runCallback (timers.js:810:20)
    at tryOnImmediate (timers.js:768:5)                                                                                     at processImmediate [as _immediateCallback] (timers.js:745:5)


npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! handbrake-js@1.1.9 postinstall: `node scripts/install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the handbrake-js@1.1.9 postinstall script.

我尝试使用以下命令全局安装 handbrake-js: npm install -g handbrake-js 。但后来我得到这个错误:

fetching: http://download.handbrake.fr/releases/1.0.7/HandBrakeCLI-1.0.7-win-x86_64.zip
internal/streams/legacy.js:59
      throw er; // Unhandled stream error in pipe.
      ^

Error: write EPROTO 101057795:error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure:openssl\ssl\s23_clnt.c:802:

    at _errnoException (util.js:992:11)
    at WriteWrap.afterWrite [as oncomplete] (net.js:864:14)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! handbrake-js@3.0.3 postinstall: `node scripts/install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the handbrake-js@3.0.3 postinstall script.

不知道我在这里做错了什么。请帮忙。提前致谢。

4

0 回答 0