cordova-splash 无法处理未处理的错误事件
cordova-splash not working with getting an unhandled error event
当我 运行 cordova-splash 命令这个错误时 come.Getting 一个未处理的错误事件
>
> $ 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 中有一些旧的初始屏幕配置。这些指向不存在 directories.so 尝试删除旧的启动画面配置行,这可能会修复它。还请尝试关闭您的终端 window,然后在安装任何模块后重新打开它。 (正如@Furqan 提到的您可能缺少的 imagemagick 模块)。
当我 运行 cordova-splash 命令这个错误时 come.Getting 一个未处理的错误事件
>
> $ 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 中有一些旧的初始屏幕配置。这些指向不存在 directories.so 尝试删除旧的启动画面配置行,这可能会修复它。还请尝试关闭您的终端 window,然后在安装任何模块后重新打开它。 (正如@Furqan 提到的您可能缺少的 imagemagick 模块)。