vue移动端项目vw适配运行项目时出现"advanced"报错解决办法。
Module build failed: Error: Cannot load preset "advanced". Please check your configuration for errors and try again.
at resolvePreset (E:\dxl_vue\baoge\node_modules\_cssnano@4.1.@cssnano\dist\index.js::)
at resolveConfig (E:\dxl_vue\baoge\node_modules\_cssnano@4.1.@cssnano\dist\index.js::)
at E:\dxl_vue\baoge\node_modules\_cssnano@4.1.@cssnano\dist\index.js::
at LazyResult.run (E:\dxl_vue\baoge\node_modules\postcss\lib\lazy-result.js::)
at LazyResult.asyncTick (E:\dxl_vue\baoge\node_modules\postcss\lib\lazy-result.js::)
at LazyResult.asyncTick (E:\dxl_vue\baoge\node_modules\postcss\lib\lazy-result.js::)
at LazyResult.asyncTick (E:\dxl_vue\baoge\node_modules\postcss\lib\lazy-result.js::)
at LazyResult.asyncTick (E:\dxl_vue\baoge\node_modules\postcss\lib\lazy-result.js::)
at LazyResult.asyncTick (E:\dxl_vue\baoge\node_modules\postcss\lib\lazy-result.js::)
at LazyResult.asyncTick (E:\dxl_vue\baoge\node_modules\postcss\lib\lazy-result.js::)
at LazyResult.asyncTick (E:\dxl_vue\baoge\node_modules\postcss\lib\lazy-result.js::)
at LazyResult.asyncTick (E:\dxl_vue\baoge\node_modules\postcss\lib\lazy-result.js::)
at LazyResult.asyncTick (E:\dxl_vue\baoge\node_modules\postcss\lib\lazy-result.js::)
at LazyResult.asyncTick (E:\dxl_vue\baoge\node_modules\postcss\lib\lazy-result.js::)
at LazyResult.asyncTick (E:\dxl_vue\baoge\node_modules\postcss\lib\lazy-result.js::)
at LazyResult.asyncTick (E:\dxl_vue\baoge\node_modules\postcss\lib\lazy-result.js::) @ ./node_modules/vue-style-loader!./node_modules/css-loader?{"sourceMap":true}!./node_modules/vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-7ba5bd90","scoped":true,"hasInlineConfig":false}!./node_modules/_sass-loader@7.1.@sass-loader/lib/loader.js?{"sourceMap":true}!./node_modules/vue-loader/lib/selector.js?type=styles&index=!./src/App.vue :- :-: :-
@ ./src/App.vue
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main.js error in ./src/components/HelloWorld.vue Module build failed: Error: Cannot load preset "advanced". Please check your configuration for errors and try again.
at resolvePreset (E:\dxl_vue\baoge\node_modules\_cssnano@4.1.@cssnano\dist\index.js::)
at resolveConfig (E:\dxl_vue\baoge\node_modules\_cssnano@4.1.@cssnano\dist\index.js::)
at E:\dxl_vue\baoge\node_modules\_cssnano@4.1.@cssnano\dist\index.js::
at LazyResult.run (E:\dxl_vue\baoge\node_modules\postcss\lib\lazy-result.js::)
at LazyResult.asyncTick (E:\dxl_vue\baoge\node_modules\postcss\lib\lazy-result.js::)
at LazyResult.asyncTick (E:\dxl_vue\baoge\node_modules\postcss\lib\lazy-result.js::)
at LazyResult.asyncTick (E:\dxl_vue\baoge\node_modules\postcss\lib\lazy-result.js::)
at LazyResult.asyncTick (E:\dxl_vue\baoge\node_modules\postcss\lib\lazy-result.js::)
at LazyResult.asyncTick (E:\dxl_vue\baoge\node_modules\postcss\lib\lazy-result.js::)
at LazyResult.asyncTick (E:\dxl_vue\baoge\node_modules\postcss\lib\lazy-result.js::)
at LazyResult.asyncTick (E:\dxl_vue\baoge\node_modules\postcss\lib\lazy-result.js::)
at LazyResult.asyncTick (E:\dxl_vue\baoge\node_modules\postcss\lib\lazy-result.js::)
at LazyResult.asyncTick (E:\dxl_vue\baoge\node_modules\postcss\lib\lazy-result.js::)
at LazyResult.asyncTick (E:\dxl_vue\baoge\node_modules\postcss\lib\lazy-result.js::)
at LazyResult.asyncTick (E:\dxl_vue\baoge\node_modules\postcss\lib\lazy-result.js::)
at LazyResult.asyncTick (E:\dxl_vue\baoge\node_modules\postcss\lib\lazy-result.js::) @ ./node_modules/vue-style-loader!./node_modules/css-loader?{"sourceMap":true}!./node_modules/vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-469af010","scoped":true,"hasInlineConfig":false}!./node_modules/_sass-loader@7.1.@sass-loader/lib/loader.js?{"sourceMap":true}!./node_modules/vue-loader/lib/selector.js?type=styles&index=!./src/components/HelloWorld.vue :- :-: :-
@ ./src/components/HelloWorld.vue
@ ./src/router/index.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main.js
要解决这个报错,需要安装这个插件
npm i cssnano-preset-advanced --save-dev
vue移动端项目vw适配运行项目时出现"advanced"报错解决办法。的更多相关文章
- create-react-app创建项目后运行npm run eject命令报错解决办法
最近在用create-react-app创建项目,因要配置各种组件,比如babel,antd等, 需要运行npm run eject命令把项目的配置文件暴露出来,但是还是一如既然碰到报错,因为是在本地 ...
- 宝塔面板搭载yii2.0项目关于open_basedir报错解决办法
昨天配置完宝塔的lamp后,然后把原本的yii项目放上去,发现出现三个报错,就是大概 require openssl之类的三个错误 然后去宝塔的界面里去配置了一个端口,然后再去阿里云上开放这个端口 ...
- vue项目打包后一片空白及资源引入的路径报错解决办法
网上很多说自己的VUE项目通过Webpack打包生成的list文件,放到HBulider打包后,通过手机打开一片空白.这个主要原因是路径的问题. 1.记得改一下config下面的index.js中bu ...
- IDEA新建SpringMVC项目报错解决办法
网页运行的错误: HTTP Status 500 - Handler processing failed; nested exception is java.lang.NoClassDefFoundE ...
- cmd命令中运行pytest命令导入模块报错解决方法
报错截图 ImportError while loading conftest 'E:\python\HuaFansApi\test_case\conftest.py'. test_case\conf ...
- vue.runtime.esm.js:593 [Vue warn]: Invalid prop: custom validator check failed for prop "value".报错解决
在uni中使用 picker组件,一直报错 vue.runtime.esm.js:593 [Vue warn]: Invalid prop: custom validator check failed ...
- vue eslint报错解决办法
若提示入下图时,在build / webpack.base.conf.js中, 找到 // const createLintingRule = () => ({// test: /\.(js|v ...
- vue项目node升级后,node-saas报错解决办法
ERROR in ./node_modules/_extract-text-webpack-plugin@3.0.2@extract-text-webpack-plugin/dist/loader.j ...
- vue项目post请求405报错解决办法。
步骤一: 确定ajax语法没有错误. 步骤二: 与后台对接确认请求是否打到nginx上? 步骤三: 检查nginx是否配置了事件转发,比如我们的接口是在,当前地址的8100端口上,并且接口地址上有v1 ...
随机推荐
- 【转】46 个非常有用的 PHP 代码片段
1. 发送 SMS 在开发 Web 或者移动应用的时候,经常会遇到需要发送 SMS 给用户,或者因为登录原因,或者是为了发送信息.下面的 PHP 代码就实现了发送 SMS 的功能. 为了使用任何的语言 ...
- Java Struts2 (一)
一.Struts2简介 1.Struts2概述 Struts2是Apache发行的MVC开源框架.注意:它只是表现层(MVC)框架. 2.Struts2的来历 Struts1:也是apache开发的一 ...
- ArcEngnine中IHookHelper的用法
一.IHookHelper 主要在用在自定义类型于AE带的的ICommand或ITool等 1.实例化IHookHelper 对象:IHookHelper m_hookHelper = new Hoo ...
- Leetcode- Find Minimum in Rotated Sorted Array-ZZ
http://changhaz.wordpress.com/2014/10/15/leetcode-find-minimum-in-rotated-sorted-array/ Suppose a so ...
- MongoDB学习笔记——概述
概述 MongoDB是一个跨平台,面向文档的数据库.MongoDB创建的数据库可以实现高可用性,高性能,并且能够轻松拓展. MongodbDB的运行方式主要给予两个概念:集合(collection)和 ...
- 深入解读TPC-C指标
深入解读TPC-C指标 TPC(Transactionprocessing Performance Council,事务处理性能委员会)是由数十家会员公司创建的非盈利组织,总部设在美国.TPC的成员主 ...
- ORACLE_TO_CHAR Function
TECHONTHENNTE WEBSITE: https://www.techonthenet.com/oracle/functions/to_char.php Oracle / PLSQL: TO ...
- ROS Create a Catkin Workspace
Step1 : First, create the top level catkin workspace directory and a sub-directory named src (pronou ...
- 035server端并发聊天
import socketserver class MyServer(socketserver.BaseRequestHandler): def handle(self): # 里面是每个客户端连接执 ...
- awk的简单使用
awk是一个强大的文本分析工具,相对于grep的查找,sed的编辑,awk在其对数据分析并生成报告时,显得尤为强大.简单来说awk就是把文件逐行的读入,以空格为默认分隔符将每行切片,切开的部分再进行各 ...