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"报错解决办法。的更多相关文章

  1. create-react-app创建项目后运行npm run eject命令报错解决办法

    最近在用create-react-app创建项目,因要配置各种组件,比如babel,antd等, 需要运行npm run eject命令把项目的配置文件暴露出来,但是还是一如既然碰到报错,因为是在本地 ...

  2. 宝塔面板搭载yii2.0项目关于open_basedir报错解决办法

    昨天配置完宝塔的lamp后,然后把原本的yii项目放上去,发现出现三个报错,就是大概  require openssl之类的三个错误 然后去宝塔的界面里去配置了一个端口,然后再去阿里云上开放这个端口 ...

  3. vue项目打包后一片空白及资源引入的路径报错解决办法

    网上很多说自己的VUE项目通过Webpack打包生成的list文件,放到HBulider打包后,通过手机打开一片空白.这个主要原因是路径的问题. 1.记得改一下config下面的index.js中bu ...

  4. IDEA新建SpringMVC项目报错解决办法

    网页运行的错误: HTTP Status 500 - Handler processing failed; nested exception is java.lang.NoClassDefFoundE ...

  5. cmd命令中运行pytest命令导入模块报错解决方法

    报错截图 ImportError while loading conftest 'E:\python\HuaFansApi\test_case\conftest.py'. test_case\conf ...

  6. 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 ...

  7. vue eslint报错解决办法

    若提示入下图时,在build / webpack.base.conf.js中, 找到 // const createLintingRule = () => ({// test: /\.(js|v ...

  8. vue项目node升级后,node-saas报错解决办法

    ERROR in ./node_modules/_extract-text-webpack-plugin@3.0.2@extract-text-webpack-plugin/dist/loader.j ...

  9. vue项目post请求405报错解决办法。

    步骤一: 确定ajax语法没有错误. 步骤二: 与后台对接确认请求是否打到nginx上? 步骤三: 检查nginx是否配置了事件转发,比如我们的接口是在,当前地址的8100端口上,并且接口地址上有v1 ...

随机推荐

  1. html+css 布局篇

    float 做了float后有一些不好的影响. 1.背景不能显示 由于浮动产生,如果对父级设置了(CSS background背景)CSS背景颜色或CSS背景图片,而父级不能被撑开,所以导致CSS背景 ...

  2. 移动端h5开发相关内容总结css篇--笔记

    原文参考http://mp.weixin.qq.com/s/Nho2DHj-Y59j2F62vpN9jQ 1.开发移动端,头部必要的配置<meta name="viewport&quo ...

  3. css3 animation运用

    animation:mymove 5s infinite; @keyframes mymove { from {left:0px;} to {left:200px;} } @-webkit-keyfr ...

  4. Linux基础之-Bash命令优先级

    一. Bash简介 命令解释器,也就是 Bourne Again Shell,起源于shell.shell俗称壳,它是指UNIX系统下的一个命令解析器:主要用于用户和系统的交互.UNIX系统上有很多种 ...

  5. C# Winform DataGridView获取单元格的值

    1,可以直接通过DataGridView的重载运算符[]直接获取 使用方法: dataGridView[columnIndex][rowsIndex].Value.ToString().//colum ...

  6. EF+Oracle

    一个小项目,设计到几十张表,但都是简单的增删改查,所以呢,想偷懒用EF. 结果,在.NET4.0下,死活都不行.最后在Oracle官方找到demo,上面清清楚楚的写着必须>NET4.5. 看着E ...

  7. angularJS articles and resources

    http://antjanus.com/blog/web-development-tutorials/front-end-development/comprehensive-beginner-guid ...

  8. 第四周 day4 python学习笔记

    关于装饰器的更多信息可以参考http://egon09.blog.51cto.com/9161406/1836763 1.装饰器Decorator 装饰器:本质上是函数,(装饰其他函数),就是为其他函 ...

  9. 记一次insert因为db file sequential read影响性能导致性能原因的分析

    通过详细的10046 trace发现,大量的io等待分布在以下数据文件上:Misses in library cache during parse: 0Elapsed times include wa ...

  10. ubuntu桌面便签 sticky note, xpad

    sudo apt-get install xpad 软件有一个选项,叫做Show window decorations,显示窗口的标题栏.