npm install 報錯 phantomjs-prebuilt@2.1.14 install: `node install.js`

來源:互聯網
上載者:User

標籤:運行   ppi   targe   pts   script   war   use   problem   output   

$ npm install

> [email protected] install F:\Study\Vue\VueStudy\03\VueTest\node_module s\phantomjs-prebuilt
> node install.js

‘node‘ ????????????????????????е????
?????????????
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fse vents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected] 1.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"} )

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional log ging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! E:\Program Files\nodejs\node_cache\_logs\2017-07-31T10_21_57_704Z-d ebug.log

 

初步診斷為包[email protected] install: `node install.js`下載失敗

先運行 npm install [email protected] --ignore-script 可成功

Add --ignore-scripts option that causes `npm install` to not run preinstall and prepublish scripts

npm install 報錯 [email protected] install: `node install.js`

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.