UnfunLady
UnfunLady
  • 发布:2024-07-10 21:01
  • 更新:2024-07-10 21:01
  • 阅读:40

[已解决] uniapp 云打包或者本地打包资源生产编译报错

分类:HBuilderX

在另一台电脑不会出现 在这台电脑90%出现 有时候偶尔能编译成功 不过大多数失败 请问这是很么原因 需要怎么处理
已经试过卸载再安卓新的 依然没有效果

ERROR Error: spawn EPERM
[HBuilder] 20:59:27.762 Error: spawn EPERM
[HBuilder] 20:59:27.793 at ChildProcess.spawn (node:internal/child_process:414:11)
[HBuilder] 20:59:27.822 at spawn (node:child_process:761:9)
[HBuilder] 20:59:27.853 at fork (node:child_process:172:10)
[HBuilder] 20:59:27.856 at ChildProcessWorker.initialize (D:\Code\HBuilderX\plugins\uniapp-cli\node_modules\jest-worker\build\workers\ChildProcessWorker.js:139:45)
[HBuilder] 20:59:27.887 at new ChildProcessWorker (D:\Code\HBuilderX\plugins\uniapp-cli\node_modules\jest-worker\build\workers\ChildProcessWorker.js:130:10)
[HBuilder] 20:59:27.905 at WorkerPool.createWorker (D:\Code\HBuilderX\plugins\uniapp-cli\node_modules\jest-worker\build\WorkerPool.js:44:12)
[HBuilder] 20:59:27.909 at new BaseWorkerPool (D:\Code\HBuilderX\plugins\uniapp-cli\node_modules\jest-worker\build\base\BaseWorkerPool.js:134:27)
[HBuilder] 20:59:27.939 at new WorkerPool (D:\Code\HBuilderX\plugins\uniapp-cli\node_modules\jest-worker\build\WorkerPool.js:30:1)
[HBuilder] 20:59:27.946 at new JestWorker (D:\Code\HBuilderX\plugins\uniapp-cli\node_modules\jest-worker\build\index.js:112:26)
[HBuilder] 20:59:27.976 at TaskRunner.run (D:\Code\HBuilderX\plugins\uniapp-cli\node_modules\terser-webpack-plugin\dist\TaskRunner.js:60:21)
[HBuilder] 20:59:28.001 at TerserPlugin.optimizeFn (D:\Code\HBuilderX\plugins\uniapp-cli\node_modules\terser-webpack-plugin\dist\index.js:396:24)
[HBuilder] 20:59:28.013 at AsyncSeriesHook.eval [as callAsync] (eval at create (D:\Code\HBuilderX\plugins\uniapp-cli\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:17:17)
[HBuilder] 20:59:28.044 at AsyncSeriesHook.lazyCompileHook (D:\Code\HBuilderX\plugins\uniapp-cli\node_modules\tapable\lib\Hook.js:154:20)
[HBuilder] 20:59:28.049 at D:\Code\HBuilderX\plugins\uniapp-cli\node_modules\webpack\lib\Compilation.js:1410:36
[HBuilder] 20:59:28.081 at AsyncSeriesHook.eval [as callAsync] (eval at create (D:\Code\HBuilderX\plugins\uniapp-cli\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:6:1)
[HBuilder] 20:59:28.110 at AsyncSeriesHook.lazyCompileHook (D:\Code\HBuilderX\plugins\uniapp-cli\node_modules\tapable\lib\Hook.js:154:20)
[HBuilder] 20:59:28.139 at D:\Code\HBuilderX\plugins\uniapp-cli\node_modules\webpack\lib\Compilation.js:1406:32
[HBuilder] 20:59:28.143 at AsyncSeriesHook.eval [as callAsync] (eval at create (D:\Code\HBuilderX\plugins\uniapp-cli\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:6:1)
[HBuilder] 20:59:28.173 at AsyncSeriesHook.lazyCompileHook (D:\Code\HBuilderX\plugins\uniapp-cli\node_modules\tapable\lib\Hook.js:154:20)
[HBuilder] 20:59:28.203 at Compilation.seal (D:\Code\HBuilderX\plugins\uniapp-cli\node_modules\webpack\lib\Compilation.js:1343:27)
[HBuilder] 20:59:28.231 at D:\Code\HBuilderX\plugins\uniapp-cli\node_modules\webpack\lib\Compiler.js:675:18
[HBuilder] 20:59:28.235 at D:\Code\HBuilderX\plugins\uniapp-cli\node_modules\webpack\lib\Compilation.js:1261:4
[HBuilder] 20:59:28.265 at AsyncSeriesHook.eval [as callAsync] (eval at create (D:\Code\HBuilderX\plugins\uniapp-cli\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:24:1)
[HBuilder] 20:59:28.270 at AsyncSeriesHook.lazyCompileHook (D:\Code\HBuilderX\plugins\uniapp-cli\node_modules\tapable\lib\Hook.js:154:20)
[HBuilder] 20:59:28.299 at Compilation.finish (D:\Code\HBuilderX\plugins\uniapp-cli\node_modules\webpack\lib\Compilation.js:1253:28)
[HBuilder] 20:59:28.330 at D:\Code\HBuilderX\plugins\uniapp-cli\node_modules\webpack\lib\Compiler.js:672:17
[HBuilder] 20:59:28.361 at eval (eval at create (D:\Code\HBuilderX\plugins\uniapp-cli\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:11:1)
[HBuilder] 20:59:28.392 at D:\Code\HBuilderX\plugins\uniapp-cli\node_modules\webpack\lib\DynamicEntryPlugin.js:74:20
[HBuilder] 20:59:28.422 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

2024-07-10 21:01 负责人:无 分享
已邀请:

要回复问题请先登录注册