一定不要运行npm i XXX -g(-d) 一定要指定版本,尽量低版本,也不最新版本,会导致不兼容和指令不一样的问题. 1.安装webpack-dev-server 报错,说需要webpack-cli,原因,这两个之中某一个版本太高.,重新安装低版本 2.安装webpack-cli ,然后还是不能使用, 3. npm WARN webpack-cli@3.0.8 requires a peer of webpack@^4.x.x but none is installed. You mus
webpack 使用 extract-text-webpack-plugin 报错 Tapable.plugin is deprecated. Use new API on .hooks instead 根据教程使用 const ExtractPlugin = require('extract-text-webpack-plugin') 配置好后,在 cnpm run build 时出现 Tapable.plugin is deprecated. Use new API on `.hooks`
MySQL5.6版本备份报错,密码不安全 [root@centos199 mysql]# mysqldump -uroot -ppassword cz-office > mysql38.sqlWarning: Using a password on the command line interface can be insecure. 解决方法1:进行交互式输入密码, [root@centos199 mysql]# mysqldump -uroot -p cz-office > mysql38