gpt4 book ai didi

android - cordova-splash 无法处理未处理的错误事件

转载 作者:搜寻专家 更新时间:2023-11-01 07:52:25 27 4
gpt4 key购买 nike

当我运行 cordova-splash 命令时出现此错误。获取未处理的错误事件

    > 
> $ cordova-splash
>
> Checking Project & Splash
>
> ✓ platforms found: android
> ✓ splash.png exists
> ✓ config.xml exists
>
> Generating splash screen for Android
>
> events.js:85
> throw er; // Unhandled 'error' event
> ^
> Error: spawn ENOENT
at errnoException (child_process.js:980:11)
at Process.ChildProcess._handle.onexit (child_process.js:771:34)

最佳答案

我认为您在 config.xml 中有一些旧的初始屏幕配置。这些指向不存在的目录。因此请尝试删除旧的启动画面配置行,这可能会修复它。也尝试关闭终端窗口,然后在安装任何模块后重新打开它。 (正如@Furqan 提到的您可能缺少的 imagemagick 模块)。

关于android - cordova-splash 无法处理未处理的错误事件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33082224/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com