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:\Users\zgj\AppData\Roaming\npm\node_modules\webpack-cli_tmp
Copying C:\Users\zgj\AppData\Roaming\npm\node_modules\webpack-cli_tmp\_webpack-cli@2.0.11@webpack-cli to C:\Users\zgj\AppData\Roaming\npm\node_modules\webpack-cli
Installing webpack-cli‘s dependencies to C:\Users\zgj\AppData\Roaming\npm\node_modules\webpack-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:\Users\zgj\AppData\Roaming\npm\node_modules\webpack-cli\node_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:\Users\zgj\AppData\Roaming\npm\webpack-cli@ -> C:\Users\zgj\AppData\Roaming\npm\node_modules\webpack-cli\bin\webpack.js
j:\demo>webpack -v
4.1.1
The CLI moved into a separate package: webpack-cli.解决办法的更多相关文章
- sublime text 3 无法安装Package Control插件解决办法
sublime text 3 无法安装Package Control插件解决办法 ***关于sublime text 3 常用的 Package Control插件的安装方法*** 1.CTRL+` ...
- 出现No package gcc+ available解决办法
系统 CentOS Linux release 7.4.1708 (Core) 安装gcc时报错 [root@ip---- node-v10.15.3]# yum -y install gcc+ ...
- ubuntu-E:Encountered a section with no Package: header的解决办法 (转)
E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/apt/lists/cn.arch ...
- ubuntu-E:Encountered a section with no Package: header的解决办法
刚才打开ubuntu,我的版本是12.04.正想使用sudo apt-get install build-essential 时,出现了如下错误: E:Encountered a section wi ...
- Unable to locate package python3 错误解决办法
错误 huny@DESKTOP-N1EBKQP:/mnt/c/Users/Administrator$ sudo apt-get install python3 Reading package lis ...
- Visual Studio 2010 更新NuGet Package Manager出错解决办法
在Visual Studio 2010的扩展管理器中发现NuGet Package Manger有最新版本更新提示,选择更新安装提示以下错误信息: 2013/4/25 1:11:48 - Micros ...
- ruby TkPackage can't find package BWidget 之解决办法
一个特别短的ruby/tk代码: require 'tkextlib\iwidgets' require 'tkextlib\bwidget' x = 0 101.times {|i| x+=i} T ...
- Flutter 卡在 package get 的解决办法
今天在尝试使用Flutter 的时候,需要使用一个第三方库 修改了 pubspec 文件之后,AS 像往常一样提示 需要 package get. 之前都挺正常,不知道今天怎么了. 一直处在 Runn ...
- yum与apt命令比较,yum安装出现No package vim available解决办法
yum (Yellowdog Updater Modified)是一个集与查找,安装,更新和删除程序的Linux软件.它运行在RPM包兼容的Linux发行版本上,如:RedHat, Fedora, S ...
随机推荐
- Java之ArrayList自定义排序,通过实现comparator比较器接口
两种排序方式: 1.实体类实现Comparable接口,重写compareTo(T o)方法,在其中定义排序规则,那么就可以直接调用Collections.sort()来排序对象数组 2.在调用方法的 ...
- swagger bug
https://blog.csdn.net/u011943534/article/details/81778125 处理swagger报错Could not resolve pointer: /def ...
- 我的Git
1.git 的安装与配置. 首先,对git进行下载.然后,在本地安装后进行版本查看,win10系统通过win+r快捷键打开控制台,然后用git --version的cmd命令查看git版本. 然后对g ...
- Spring Boot 构建电商基础秒杀项目 (八) 商品创建
SpringBoot构建电商基础秒杀项目 学习笔记 新建数据表 create table if not exists item ( id int not null auto_increment, ti ...
- 学习 Spring (十七) Spring 对 AspectJ 的支持 (完结)
Spring入门篇 学习笔记 @AspectJ 的风格类似纯 java 注解的普通 java 类 Spring 可以使用 AspectJ 来做切入点解析 AOP 的运行时仍旧是纯的 Spring AO ...
- Vue入门基础
前面的话 Vue中文文档写得很好,界面清爽,内容翔实.但文档毕竟不是教程,文档一上来出现了大量的新概念,对于新手而言,并不友好.个人还是比较喜欢类似于<JS高级程序设计>的风格,从浅入深, ...
- Iroha and a Grid AtCoder - 1974(思维水题)
就是一个组合数水题 偷个图 去掉阴影部分 把整个图看成上下两个矩形 对于上面的矩形求出起点到每个绿点的方案 对于下面的矩形 求出每个绿点到终点的方案 上下两个绿点的方案相乘后相加 就是了 想想为什么 ...
- 【BZOJ2208】【JSOI2010】连通数 传递闭包
题目描述 定义一个图的连通度为图中可达顶点对的数目.给你一个\(n\)个点的有向图,问你这个图的连通度. \(n\leq 2000,m\leq n^2\) 题解 一个很简单的做法就是传递闭包:像flo ...
- Codeforces Round #530 (Div. 2) F (树形dp+线段树)
F. Cookies 链接:http://codeforces.com/contest/1099/problem/F 题意: 给你一棵树,树上有n个节点,每个节点上有ai块饼干,在这个节点上的每块饼干 ...
- project 2013 删除资源
1.分析 在资源名称这边一旦输入过资源名称,下次点击下拉框就会出现历史记录,如何删除 2.步骤 资源-->分配资源-->点击资源名称,按F2,按DEL键