报下面的错误信息
10:57:43.304 Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
10:57:43.305 ModuleBuildError: Module build failed (from ./node_modules/less-loader/dist/cjs.js):
10:57:43.313 Class constructor FileManager cannot be invoked without 'new'
10:57:43.314 in undefined (line undefined, column undefined)
10:57:43.321 at runLoaders (E:\Hbuilder\HBuilderX\plugins\uniapp-cli\node_modules\webpack\lib\NormalModule.js:301:20)
10:57:43.323 at E:\Hbuilder\HBuilderX\plugins\uniapp-cli\node_modules\loader-runner\lib\LoaderRunner.js:367:11
10:57:43.339 at E:\Hbuilder\HBuilderX\plugins\uniapp-cli\node_modules\loader-runner\lib\LoaderRunner.js:233:18
10:57:43.340 at context.callback (E:\Hbuilder\HBuilderX\plugins\uniapp-cli\node_modules\loader-runner\lib\LoaderRunner.js:111:13)
10:57:43.347 at <anonymous>
10:57:43.349 at runMicrotasksCallback (internal/process/next_tick.js:121:5)
10:57:43.359 at _combinedTickCallback (internal/process/next_tick.js:131:7)
10:57:43.360 at process._tickCallback (internal/process/next_tick.js:180:9)
10:57:43.371 ERROR Build failed with errors.
2***@qq.com
- 发布:2019-08-18 11:03
- 更新:2019-08-19 10:51
- 阅读:4315
uni app 编译时失败
分类:uni-app
1***@qq.com
感谢 我是无语啦 less就不能用啦
2019-08-19 10:52