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 ...
随机推荐
- jQuery阻止向上冒泡事件
//阻止起泡取消下面的注释 e.stopPropagation(); //或者使用这种方式 //return false; }); $('.three').click(function(e){ ale ...
- makefile 模板 (template)
本文把makefile 分成了三份:生成可执行文件的makefile,生成静态链接库的makefile,生成动态链接库的makefile. 这些makefile都很简单,一般都是一看就会用,用法也很容 ...
- 花1台的钱入手2台【最能抗DDoS】阿里云主机【攻略】
花1台的钱入手2台[最能抗DDoS]阿里云主机[攻略]: 第一步:先申请0元半年 http://click.aliyun.com/m/335/:注:0元机器只有新帐号可申请第二步:再买6折37/月 h ...
- Android sqlite日期存储
SQLite日期类型是以TEXT.REAL和INTEGER类型分别不同的格式表示的,对应如下:TEXT: "YYYY-MM-DD HH:MM:SS.SSS"REAL: 以Julia ...
- 如何编写自定义hive UDF函数
Hive可以允许用户编写自己定义的函数UDF,来在查询中使用.Hive中有3种UDF: UDF:操作单个数据行,产生单个数据行: UDAF:操作多个数据行,产生一个数据行. UDTF:操作一个数据行, ...
- 程序员装B指南(转载)
转自:http://www.oschina.net/question/615783_115390 一.准备工作 "工欲善其事必先利其器." 1.电脑不一定要配置高,但是双屏是必须的 ...
- python schedule 任务调度
python schedule可以简单处理一些日常提醒的工作,下面简要说一下用法: import schedule import time def job(): print("I'm wor ...
- Visio中锁定元件
若要进行形状保护,需要能看到“开发工具”选项卡.默认情况下,该选项卡是隐藏的. 查看“开发工具”选项卡 单击“文件”选项卡. 单击“选项”. 单击“高级”,然后向下滚动到“常规”部分. 选择“以开发人 ...
- PowerBI主题制作
简单主题: { "name": "St Patricks Day", "dataColors": ["#568410", ...
- zimbra邮件服务器的搭建和迁移
背景: 公司最近由于服务器费用问题,需要将邮件服务器从亚马逊(新加坡)云服务器A迁移到阿里云(香港)云服务器B. 由于邮箱使用的是域名访问,但是没有进行备案,所以只能迁移到港澳台地区,才能正常使用. ...