zoukankan      html  css  js  c++  java
  • npm install 报错

    npm ERR! Linux 3.10.0-514.26.2.el7.x86_64
    npm ERR! argv "/opt/node-v6.10.0-linux-x64/bin/node" "/opt/node-v6.10.0-linux-x64/bin/npm" "install"
    npm ERR! node v6.10.0
    npm ERR! npm v3.10.10
    npm ERR! code ELIFECYCLE

    npm ERR! phantomjs-prebuilt@2.1.16 install: `node install.js`
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the phantomjs-prebuilt@2.1.16 install script 'node install.js'.
    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 phantomjs-prebuilt package,
    npm ERR! not with npm itself.
    npm ERR! Tell the author that this fails on your system:
    npm ERR! node install.js
    npm ERR! You can get information on how to open an issue for this project with:
    npm ERR! npm bugs phantomjs-prebuilt
    npm ERR! Or if that isn't available, you can get their info via:
    npm ERR! npm owner ls phantomjs-prebuilt
    npm ERR! There is likely additional logging output above.

    npm ERR! Please include the following file with any support request:
    npm ERR! /opt/elasticsearch-head-master/npm-debug.log
    npm ERR! code 1

    执行

    npm install phantomjs-prebuilt@2.1.16 --ignore-scripts

  • 相关阅读:
    [Leetcode]@python 89. Gray Code
    [Leetcode]@python 88. Merge Sorted Array.py
    [Leetcode]@python 87. Scramble String.py
    [Leetcode]@python 86. Partition List.py
    [leetcode]@python 85. Maximal Rectangle
    0523BOM
    0522作业星座
    0522dom
    0520
    0519作业
  • 原文地址:https://www.cnblogs.com/yuanbaodong/p/8638765.html
Copyright © 2011-2022 走看看