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 ...
随机推荐
- Windows API 编程----将错误代码转换成错误描述信息
Windows编程有时会因为调用函数而产生错误,调用GetLastError()函数可以得到错误代码.如果错误代码为0,说明没有错误:如果错误代码不为0,则说明存在错误. 而错误代码不方便编程人员或用 ...
- RocketMQ读书笔记1——简述
[消息队列的功能介绍] 分布式消息队列可以提供应用解耦.流量削峰.消息分发.保证最终一致性.方便动态扩容等功能. [MQ使用场景1——应用解耦] 复杂的系统如电商系统,会存在多个子系统,如订单系统.库 ...
- 任务十四:零基础JavaScript编码(二)
任务目的 在上一任务基础上继续JavaScript的体验 学习JavaScript中的if判断语法,for循环语法 学习JavaScript中的数组对象 学习如何读取.处理数据,并动态创建.修改DOM ...
- recommendation baselines
整理recommendation baseline 的实现代码和方法归类: bpr: https://github.com/gamboviol/bpr fpmc: https://github.c ...
- Windows下Python2与Python3两个版本共存的方法详解
来源:http://www.jb51.net/article/105311.htm 这篇文章主要介绍了Windows下Python2与Python3两个版本共存的方法,文中介绍的很详细,对大家具有一定 ...
- eclipse安装checkStyle
今天用eclipse mars 安装checkstyle 代码测试工具,安装完后重启竟然没有,最后发现原来是 自己安装的步骤错了,记录下. 1. 我的版本是:Version: Mars.2 Relea ...
- springmvc中配置RESTful风格控制器
一般的http请求中其实只需要get和post就可以满足项目需求了,而为什么还要使用restful可能就是为了使请求url看起来更加直观,好看吧.. restful常用的请求方式:get,post,p ...
- 使用Axure管理团队项目以及分享原型
第一部分:使用Axure管理团队项目 首先,你要有一个Axure账户 呵呵哒.注册地址:http://share.axure.com 发起团队项目 在浏览器登录 Axure share(网速很卡很卡) ...
- Windows ->> FIX: “The security database on the server does not have a computer account for this workstation trust relationship”
前几天在做AlwaysOn实验时遇到搭建活动目录域时某台已经加入AD的机器无法以域管理员账户登录的情况. 报错信息是:The security database on the server does ...
- cc.out
Server: , win: 20pkt, SRU: 256KB, link_buf: 32pkt, Seed: , Block_trans: 1350200B, RTT: 100us, RTT_ra ...