zoukankan      html  css  js  c++  java
  • The CLI moved into a separate package: webpack-cli.解决办法

    The CLI moved into a separate package: webpack-cli.
    Please install ‘webpack-cli‘ in addition to webpack itself to use the CLI.
    -> When using npm: npm install webpack-cli -D
    -> When using yarn: yarn add webpack-cli -D

    j:demo>cnpm install webpack-cli -g
    Downloading webpack-cli to C:UserszgjAppDataRoaming pm ode_moduleswebpack-cli_tmp
    Copying C:UserszgjAppDataRoaming pm ode_moduleswebpack-cli_tmp\_webpack-cli@2.0.11@webpack-cli to C:UserszgjAppDataRoaming pm ode_moduleswebpack-cli
    Installing webpack-cli‘s dependencies to C:UserszgjAppDataRoaming pm ode_moduleswebpack-cli/node_modules
    [1/25] interpret@^1.0.4 installed at node_modules\_interpret@1.1.0@interpret
    [2/25] diff@^3.5.0 installed at node_modules\_diff@3.5.0@diff
    [3/25] cross-spawn@^6.0.5 installed at node_modules\_cross-spawn@6.0.5@cross-spawn
    [4/25] global-modules@^1.0.0 installed at node_modules\_global-modules@1.0.0@global-modules
    [5/25] chalk@^2.3.2 installed at node_modules\_chalk@2.3.2@chalk
    [6/25] log-symbols@^2.2.0 installed at node_modules\_log-symbols@2.2.0@log-symbols
    [7/25] got@^8.2.0 installed at node_modules\_got@8.3.0@got
    [8/25] loader-utils@^1.1.0 installed at node_modules\_loader-utils@1.1.0@loader-utils
    [9/25] enhanced-resolve@^4.0.0 installed at node_modules\_enhanced-resolve@4.0.0@enhanced-resolve
    [10/25] glob-all@^3.1.0 installed at node_modules\_glob-all@3.1.0@glob-all
    [11/25] supports-color@^5.3.0 existed at node_modules\_supports-color@5.3.0@supports-color
    [12/25] mkdirp@^0.5.1 installed at node_modules\_mkdirp@0.5.1@mkdirp
    [13/25] p-lazy@^1.0.0 installed at node_modules\_p-lazy@1.0.0@p-lazy
    [14/25] p-each-series@^1.0.0 installed at node_modules\_p-each-series@1.0.0@p-each-series
    [15/25] v8-compile-cache@^1.1.2 installed at node_modules\_v8-compile-cache@1.1.2@v8-compile-cache
    [16/25] resolve-cwd@^2.0.0 installed at node_modules\_resolve-cwd@2.0.0@resolve-cwd
    [17/25] yargs@^11.0.0 installed at node_modules\_yargs@11.0.0@yargs
    [18/25] lodash@^4.17.5 existed at node_modules\_lodash@4.17.5@lodash
    [19/25] yeoman-environment@^2.0.0 installed at node_modules\_yeoman-environment@2.0.5@yeoman-environment
    [20/25] yeoman-generator@^2.0.3 installed at node_modules\_yeoman-generator@2.0.3@yeoman-generator
    [21/25] prettier@^1.5.3 installed at node_modules\_prettier@1.11.1@prettier
    [22/25] webpack-addons@^1.1.5 installed at node_modules\_webpack-addons@1.1.5@webpack-addons
    [23/25] jscodeshift@^0.5.0 installed at node_modules\_jscodeshift@0.5.0@jscodeshift
    [24/25] listr@^0.13.0 installed at node_modules\_listr@0.13.0@listr
    [25/25] inquirer@^5.1.0 installed at node_modules\_inquirer@5.1.0@inquirer
    deprecate jscodeshift@0.5.0 › babel-preset-es2015@^6.9.0 ???? Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update!
    deprecate jscodeshift@0.5.0 › nomnom@^1.8.1 Package no longer supported. Contact support@npmjs.comfor more info.
    Recently updated (since 2018-03-04): 11 packages (detail see file C:UserszgjAppDataRoaming pm ode_moduleswebpack-cli ode_modules.recently_updates.txt)
    2018-03-10
    → got@^8.2.0(8.3.0) (00:57:36)
    → jscodeshift@0.5.0 › colors@^1.1.2(1.2.0) (14:48:40)
    2018-03-09
    → yeoman-generator@2.0.3 › cross-spawn@5.1.0 › lru-cache@^4.0.1(4.1.2) (01:58:33)
    → jscodeshift@0.5.0 › recast@^0.14.1(0.14.5) (23:50:22)
    → jscodeshift@0.5.0 › recast@0.14.5 › ast-types@0.11.3(0.11.3) (23:39:04)
    2018-03-08
    → jscodeshift@0.5.0 › flow-parser@^0.*(0.67.1) (14:44:43)
    → yeoman-generator@2.0.3 › read-pkg-up@3.0.0 › read-pkg@3.0.0 › normalize-package-data@2.4.0 › hosted-git-info@^2.1.4(2.6.0) (06:20:44)
    2018-03-07
    → jscodeshift@^0.5.0(0.5.0) (13:00:01)
    → yeoman-generator@2.0.3 › mem-fs-editor@3.0.2 › vinyl@2.1.0 › cloneable-readable@^1.0.0(1.1.1) (19:46:42)
    2018-03-06
    → got@8.3.0 › p-cancelable@^0.4.0(0.4.0) (23:01:51)
    2018-03-05
    → diff@^3.5.0(3.5.0) (12:22:54)
    All packages installed (443 packages installed from npm registry, used 16s, speed 694.66kB/s, json 397(720.33kB), tarball 10.43MB)
    [webpack-cli@2.0.11] link C:UserszgjAppDataRoaming pmwebpack-cli@ -> C:UserszgjAppDataRoaming pm ode_moduleswebpack-cliinwebpack.js

    j:demo>webpack -v
    4.1.1

  • 相关阅读:
    11 对象的构造
    10 问题分析一
    9 新型的类型转换
    8 C++ 中的新成员
    7 函数重载
    6 函数参数的扩展
    5 内联函数
    查找算法总结Java实现
    九大排序算法Java实现
    帝国cms所有一级栏目遍历,如果有子栏目的话,遍历出来
  • 原文地址:https://www.cnblogs.com/snowhite/p/8779990.html
Copyright © 2011-2022 走看看