9***@qq.com
9***@qq.com
  • 发布:2023-04-25 22:46
  • 更新:2023-04-26 11:51
  • 阅读:264

mac电脑运行到ios模拟器报Request plugin/invokeApi failed

分类:uni-app

2023-04-25 22:41:32.778 [INFO:] node "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/node/node"  
2023-04-25 22:41:32.778 [INFO:] args ("--max-old-space-size=2048", "--no-warnings", "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli-vite/node_modules/@dcloudio/vite-plugin-uni/bin/uni.js", "-p", "app")  
2023-04-25 22:41:48.612 [WARNING:] [PluginHost] Error Code (PluginHost): -32603  
2023-04-25 22:41:48.612 [WARNING:] [PluginHost] Error Stack (PluginHost):  
2023-04-25 22:41:48.612 [WARNING:] [PluginHost] Request plugin/invokeApi failed with message: Error: ENOENT: no such file or directory, mkdir '/Documents/Pandora/apps/HBuilder/www/'  
2023-04-25 22:41:48.612 [WARNING:] [PluginHost]     at Object.mkdirSync (node:fs:1386:3)  
2023-04-25 22:41:48.612 [WARNING:] [PluginHost]     at IOSSimulatorLauncher.pushPackage (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/launcher/out/launchers/IOSSimulatorLauncher.js:461:26)  
2023-04-25 22:41:48.612 [WARNING:] [PluginHost]     at processTicksAndRejections (node:internal/process/task_queues:96:5)  
2023-04-25 22:41:48.616 [WARNING:] [PluginHost]     at async IOSSimulatorLauncher.run (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/launcher/out/launchers/IOSSimulatorLauncher.js:406:9)  
2023-04-25 22:41:48.616 [WARNING:] [PluginHost]     at async HDeviceLauncher.runDevice (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/launcher/out/HDeviceLauncher.js:77:24)  
2023-04-25 22:41:48.616 [WARNING:] [PluginHost]     at async runDevice (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/launcher/out/main.js:389:2)```
2023-04-25 22:46 负责人:无 分享
已邀请:
9***@qq.com

9***@qq.com (作者)

mkdir '/Documents/Pandora/apps/HBuilder/www/' 是做什么用的?

DCloud_HB_WDL

DCloud_HB_WDL

  • 提供下操作系统、HBuilderX版本号。
  • 提供下出错的截图。
  • 9***@qq.com (作者)

    换了个ios模拟器运行好了,可能是我安装了多个版本的模拟器识别有点问题

    2023-04-26 15:46

要回复问题请先登录注册