zoukankan      html  css  js  c++  java
  • npm ERR! missing: core-util-is@^1.0.2, required by Administrator

    1、错误描述

    C:UsersAdministrator>npm list
    C:UsersAdministrator
    +-- babel-core@5.8.38 extraneous
    +-- UNMET DEPENDENCY core-util-is@^1.0.2
    +-- grunt@1.0.2 extraneous
    +-- UNMET DEPENDENCY process-nextick-args@^2.0.0
    +-- UNMET DEPENDENCY util-deprecate@^1.0.2
    +-- vue@2.2.6 extraneous
    `-- webpack-cli@2.1.4 extraneous
    
    npm ERR! missing: core-util-is@^1.0.2, required by Administrator
    npm ERR! missing: process-nextick-args@^2.0.0, required by Administrator
    npm ERR! missing: util-deprecate@^1.0.2, required by Administrator
    npm ERR! extraneous: babel-core@5.8.38 C:UsersAdministrator
    ode_modulesabel
    -core
    npm ERR! extraneous: grunt@1.0.2 C:UsersAdministrator
    ode_modulesgrunt
    npm ERR! extraneous: vue@2.2.6 C:UsersAdministrator
    ode_modulesvue
    npm ERR! extraneous: webpack-cli@2.1.4 C:UsersAdministrator
    ode_moduleswebpa
    ck-cli
    
    C:UsersAdministrator>cnpm list
    npm WARN npm npm does not support Node.js v10.3.0
    npm WARN npm You should probably upgrade to a newer version of node as we
    npm WARN npm can't make any promises that npm will work with this version.
    npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8,
     9.
    npm WARN npm You can find the latest version at https://nodejs.org/
    C:UsersAdministrator
    +-- babel-core@5.8.38 extraneous
    +-- UNMET DEPENDENCY core-util-is@^1.0.2
    +-- grunt@1.0.2 extraneous
    +-- UNMET DEPENDENCY process-nextick-args@^2.0.0
    +-- UNMET DEPENDENCY util-deprecate@^1.0.2
    +-- vue@2.2.6 extraneous
    `-- webpack-cli@2.1.4 extraneous
    
    npm ERR! missing: core-util-is@^1.0.2, required by Administrator
    npm ERR! missing: process-nextick-args@^2.0.0, required by Administrator
    npm ERR! missing: util-deprecate@^1.0.2, required by Administrator
    npm ERR! extraneous: babel-core@5.8.38 C:UsersAdministrator
    ode_modulesabel
    -core
    npm ERR! extraneous: grunt@1.0.2 C:UsersAdministrator
    ode_modulesgrunt
    npm ERR! extraneous: vue@2.2.6 C:UsersAdministrator
    ode_modulesvue
    npm ERR! extraneous: webpack-cli@2.1.4 C:UsersAdministrator
    ode_moduleswebpa
    ck-cli
    
    C:UsersAdministrator>

    2、错误原因

         由错误提示可知,是C:UsersAdministrator ode_modules路径下,缺少这几个模块组件


    3、解决办法

         分别对这几个插件进行安装

    cnpm install -g core-util-is
    
    cnpm install -g process-nextick-args
    
    cnpm install -g util-deprecate
    
    cnpm install -g babel-core
    
    cnpm install -g grunt
    
    cnpm install -g vue
    
    cnpm install -g webpack-cli

  • 相关阅读:
    C语言函数qsort的使用方法
    成绩打分
    distance.c
    留学生题目
    6大排序算法比较
    小游戏得分[石头剪刀布]
    二叉排序树算法
    头文件相关
    小型考试系统
    小题目【链表1】
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13313779.html
Copyright © 2011-2022 走看看