>
> $ 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模块)。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句