{ Error: ENOENT: no such file or directory, open 'D:\Hbuilder\uniapp\unpackage\dist\build.tmp\app-plus\app.json'
[HBuilder] 10:01:58.896 at Object.fs.openSync (fs.js:646:18)
[HBuilder] 10:01:58.905 at Object.fs.readFileSync (fs.js:551:33)
[HBuilder] 10:01:58.907 at parseConfig (D:\androidDevelopKit\HBuilderX\plugins\weapp-tools\lib\index.js:1:4187)
[HBuilder] 10:01:58.913 at index (D:\androidDevelopKit\HBuilderX\plugins\weapp-tools\lib\index.js:1:12473)
[HBuilder] 10:01:58.914 at Promise (D:\androidDevelopKit\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-hbuilderx\packages\webpack-app-plus-plugin\index.js:17:11)
[HBuilder] 10:01:58.920 at new Promise (<anonymous>)
[HBuilder] 10:01:58.926 at compiler.hooks.done.tapPromise.compilation (D:\androidDevelopKit\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-hbuilderx\packages\webpack-app-plus-plugin\index.js:12:14)
[HBuilder] 10:01:58.927 at AsyncSeriesHook.eval [as callAsync] (eval at create (D:\androidDevelopKit\HBuilderX\plugins\uniapp-cli\node_modules\tapable\lib\HookCodeFactory.js:32:10), <anonymous>:17:17)
[HBuilder] 10:01:58.933 at AsyncSeriesHook.lazyCompileHook (D:\androidDevelopKit\HBuilderX\plugins\uniapp-cli\node_modules\tapable\lib\Hook.js:154:20)
[HBuilder] 10:01:58.939 at onCompiled (D:\androidDevelopKit\HBuilderX\plugins\uniapp-cli\node_modules\webpack\lib\Compiler.js:228:21)
[HBuilder] 10:01:58.946 at hooks.afterCompile.callAsync.err (D:\androidDevelopKit\HBuilderX\plugins\uniapp-cli\node_modules\webpack\lib\Compiler.js:556:14)
[HBuilder] 10:01:58.947 at AsyncSeriesHook.eval [as callAsync] (eval at create (D:\androidDevelopKit\HBuilderX\plugins\uniapp-cli\node_modules\tapable\lib\HookCodeFactory.js:32:10), <anonymous>:6:1)
[HBuilder] 10:01:58.953 at AsyncSeriesHook.lazyCompileHook (D:\androidDevelopKit\HBuilderX\plugins\uniapp-cli\node_modules\tapable\lib\Hook.js:154:20)
[HBuilder] 10:01:58.959 at compilation.seal.err (D:\androidDevelopKit\HBuilderX\plugins\uniapp-cli\node_modules\webpack\lib\Compiler.js:553:30)
[HBuilder] 10:01:58.965 at AsyncSeriesHook.eval [as callAsync] (eval at create (D:\androidDevelopKit\HBuilderX\plugins\uniapp-cli\node_modules\tapable\lib\HookCodeFactory.js:32:10), <anonymous>:6:1)
[HBuilder] 10:01:58.971 at AsyncSeriesHook.lazyCompileHook (D:\androidDevelopKit\HBuilderX\plugins\uniapp-cli\node_modules\tapable\lib\Hook.js:154:20)
[HBuilder] 10:01:58.972 errno: -4058,
[HBuilder] 10:01:58.978 code: 'ENOENT',
[HBuilder] 10:01:58.983 syscall: 'open',
[HBuilder] 10:01:58.988 path: 'D:\Hbuilder\uniapp\unpackage\dist\build\.tmp\app-plus\app.json' }
[HBuilder] 10:01:58.994 [ERROR] 读取app.json失败...
[HBuilder] 10:01:58.994 ENOENT: no such file or directory, copyfile 'D:\Hbuilder\uniapp\unpackage\dist\build.tmp\app-plus\manifest.json' -> 'D:\Hbuilder\uniapp\unpackage\dist\build\app-plus\manifest.json'
[HBuilder] 10:01:59.001 项目 'uniapp'导出失败
1***@qq.com
- 发布:2019-02-26 10:03
- 更新:2019-04-25 16:00
- 阅读:8944
1***@qq.com (作者)
出现这样bug的主要原因是由于缺少项目运行中的需要的插件
比如less ,sass/scss 等插件。
通过 “工具---插件安装” 安装相应插件。笔者本人问题解决!
4***@qq.com
你安装了什么插件就好了
2019-03-25 15:58
微图科技
我插件都是全的,为什么还是不行啊
2019-12-04 11:39