zoukankan      html  css  js  c++  java
  • npm : Depends: node-gyp (>= 0.10.9) but it is not going to be installed

    sudo apt install npm报错:

    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:
    
    The following packages have unmet dependencies:
     npm : Depends: node-gyp (>= 0.10.9) but it is not going to be installed
    E: Unable to correct problems, you have held broken packages.
    

    解决:补全环境,如下:
    sudo apt-get install nodejs-dev node-gyp libssl1.0-dev

    再进行npm安装

  • 相关阅读:
    五种Sublime text 3同时快速编辑多行内容
    update 更新某个字段自动加1
    oracle 一行记录被锁
    事件
    练习题1
    语法
    开始js
    js简述
    概述
    软连接
  • 原文地址:https://www.cnblogs.com/hencins/p/12530488.html
Copyright © 2011-2022 走看看