z***@aliyun.com
z***@aliyun.com
  • 发布:2020-04-17 09:20
  • 更新:2020-04-17 10:22
  • 阅读:1234

【报Bug】升级编辑器后报错,无法运行

分类:HBuilderX

09:12:14.718 项目 'uni-study' 开始编译...
09:12:16.731 该应用之前可能是非自定义组件模式,目前以自定义组件模式运行。非自定义组件已于2019年11月1日起停止支持。详见:https://ask.dcloud.net.cn/article/36385
09:12:16.733 请注意运行模式下,因日志输出、sourcemap以及未压缩源码等原因,性能和包体积,均不及发行模式。若要正式发布,请点击发行菜单或使用cli发布命令进行发布
09:12:16.736 正在编译中...
09:12:25.507 Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
09:12:25.508 ModuleBuildError: Module build failed (from ./node_modules/postcss-loader/src/index.js):
09:12:25.511 TypeError: config(...).search is not a function
09:12:25.511 at rc (D:\HBuilderX\plugins\uniapp-cli\node_modules\postcss-load-config\src\index.js:88:6)
09:12:25.515 at Promise.resolve.then (D:\HBuilderX\plugins\uniapp-cli\node_modules\postcss-loader\src\index.js:78:12)
09:12:25.516 at <anonymous>
09:12:25.520 at process._tickCallback (internal/process/next_tick.js:188:7)
09:12:25.520 at runLoaders (D:\HBuilderX\plugins\uniapp-cli\node_modules\webpack\lib\NormalModule.js:301:20)
09:12:25.524 at D:\HBuilderX\plugins\uniapp-cli\node_modules\loader-runner\lib\LoaderRunner.js:367:11
09:12:25.525 at D:\HBuilderX\plugins\uniapp-cli\node_modules\loader-runner\lib\LoaderRunner.js:233:18
09:12:25.528 at context.callback (D:\HBuilderX\plugins\uniapp-cli\node_modules\loader-runner\lib\LoaderRunner.js:111:13)
09:12:25.528 at Promise.resolve.then.then.catch (D:\HBuilderX\plugins\uniapp-cli\node_modules\postcss-loader\src\index.js:208:9)
09:12:25.531 at <anonymous>
09:12:25.532 at process._tickCallback (internal/process/next_tick.js:188:7)
09:12:25.534 Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
09:12:25.535 ModuleBuildError: Module build failed (from ./node_modules/postcss-loader/src/index.js):
09:12:25.539 TypeError: config(...).search is not a function
09:12:25.539 at rc (D:\HBuilderX\plugins\uniapp-cli\node_modules\postcss-load-config\src\index.js:88:6)
09:12:25.542 at Promise.resolve.then (D:\HBuilderX\plugins\uniapp-cli\node_modules\postcss-loader\src\index.js:78:12)
09:12:25.543 at <anonymous>
09:12:25.545 at runLoaders (D:\HBuilderX\plugins\uniapp-cli\node_modules\webpack\lib\NormalModule.js:301:20)
09:12:25.545 at D:\HBuilderX\plugins\uniapp-cli\node_modules\loader-runner\lib\LoaderRunner.js:367:11
09:12:25.548 at D:\HBuilderX\plugins\uniapp-cli\node_modules\loader-runner\lib\LoaderRunner.js:233:18
09:12:25.548 at context.callback (D:\HBuilderX\plugins\uniapp-cli\node_modules\loader-runner\lib\LoaderRunner.js:111:13)
09:12:25.551 at Promise.resolve.then.then.catch (D:\HBuilderX\plugins\uniapp-cli\node_modules\postcss-loader\src\index.js:208:9)
09:12:25.551 at <anonymous>
09:12:25.555 ERROR Build failed with errors.

2020-04-17 09:20 负责人:无 分享
已邀请:
x***@qq.com

x***@qq.com - 疑问?的小纳?

不行的话还是切回旧版用吧,新版问题很多

该问题目前已经被锁定, 无法添加新回复