# Wrong splashscreen ratio

**URL:** <https://forum.ionicframework.com/t/wrong-splashscreen-ratio/80391>\
**Category:** ionic-v3\
**Created:** [February 21, 2017, 12:30pm UTC](https://forum.ionicframework.com/t/wrong-splashscreen-ratio/80391 "2017-02-21T12:30:28Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![mcihak](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mcihak/32/104211_2.png) [@mcihak](https://forum.ionicframework.com/u/mcihak)\
**Post date:** [February 21, 2017, 12:30pm UTC](https://forum.ionicframework.com/t/wrong-splashscreen-ratio/80391/1 "2017-02-21T12:30:28Z")

</div>

Hi, I just created new project by

> $ ionic start myApp sidemenu --v2

When I run it on device, splashscreen has bad ratio. It is vertical stretch. In config.xml I have these line:

> preference name=“SplashMaintainAspectRatio” value=“true”

Do you know why it is doing?  
Thanks

---

<div class="post-metadata">

**Author:** ![philipgriffin](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/philipgriffin/32/110462_2.png) [@philipgriffin](https://forum.ionicframework.com/u/philipgriffin)\
**Post date:** [February 21, 2017, 2:11pm UTC](https://forum.ionicframework.com/t/wrong-splashscreen-ratio/80391/2 "2017-02-21T14:11:59Z")

</div>

Have you ran `ionic resources` ?

---

<div class="post-metadata">

**Author:** ![mcihak](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mcihak/32/104211_2.png) [@mcihak](https://forum.ionicframework.com/u/mcihak)\
**Post date:** [February 21, 2017, 2:51pm UTC](https://forum.ionicframework.com/t/wrong-splashscreen-ratio/80391/3 "2017-02-21T14:51:39Z")

</div>

Yes many times. Also tried remove and add again platform.

But this bug is from reinstall my MAC. Before everything goes right…

---

<div class="post-metadata">

**Author:** ![Sujan12](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/sujan12/32/108395_2.png) [@Sujan12](https://forum.ionicframework.com/u/Sujan12)\
**Post date:** [February 21, 2017, 3:08pm UTC](https://forum.ionicframework.com/t/wrong-splashscreen-ratio/80391/4 "2017-02-21T15:08:50Z")

</div>

Post your `ionic info` output please.

---

<div class="post-metadata">

**Author:** ![mcihak](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mcihak/32/104211_2.png) [@mcihak](https://forum.ionicframework.com/u/mcihak)\
**Post date:** [February 21, 2017, 3:20pm UTC](https://forum.ionicframework.com/t/wrong-splashscreen-ratio/80391/5 "2017-02-21T15:20:56Z")

</div>

> * * *
> 
> Dependency warning - for the CLI to run correctly,  
> it is highly recommended to install/upgrade the following:
> 
> Install ios-deploy to deploy iOS applications to devices. `npm install -g ios-deploy` (may require sudo)

> * * *
> 
> Your system information:
> 
> Cordova CLI: 4.2.0  
> Ionic Framework Version: 2.0.1  
> Ionic CLI Version: 2.2.1  
> Ionic App Lib Version: 2.2.0  
> Ionic App Scripts Version: 1.0.0  
> ios-deploy version: Not installed  
> ios-sim version: 5.0.13  
> OS: macOS Sierra  
> Node Version: v6.9.5  
> Xcode version: Xcode 8.2.1 Build version 8C1002
> 
> * * *
> 
> Dependency warning - for the CLI to run correctly,  
> it is highly recommended to install/upgrade the following:
> 
> Install ios-deploy to deploy iOS applications to devices. `npm install -g ios-deploy` (may require sudo)

> * * *

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [February 21, 2017, 5:43pm UTC](https://forum.ionicframework.com/t/wrong-splashscreen-ratio/80391/6 "2017-02-21T17:43:09Z")

</div>

Could you post

```auto
ionic platform ls

```

and

```auto
ionic plugin ls

```

This will return the platform/plugin version. You might have an older version of something which could be causing the issue.

---

<div class="post-metadata">

**Author:** ![mcihak](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mcihak/32/104211_2.png) [@mcihak](https://forum.ionicframework.com/u/mcihak)\
**Post date:** [February 21, 2017, 5:59pm UTC](https://forum.ionicframework.com/t/wrong-splashscreen-ratio/80391/7 "2017-02-21T17:59:51Z")

</div>

Here it is:

> ionic platform lf

> Installed platforms: android 3.6.4  
> Available platforms: amazon-fireos, blackberry10, browser, firefoxos, ios

> ionic plugin ls  
> No plugins added. Use `cordova plugin add <plugin>`.

But I run npm install. So base plugins should be installed, right?

in config.xml I have:

> plugin name=“ionic-plugin-keyboard” spec=“~2.2.1”  
> plugin name=“cordova-plugin-whitelist” spec=“1.3.1”  
> plugin name=“cordova-plugin-console” spec=“1.0.5”  
> plugin name=“cordova-plugin-statusbar” spec=“2.2.1”  
> plugin name=“cordova-plugin-device” spec=“1.1.4”  
> plugin name=“cordova-plugin-splashscreen” spec=“~4.0.1”

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [February 21, 2017, 6:04pm UTC](https://forum.ionicframework.com/t/wrong-splashscreen-ratio/80391/8 "2017-02-21T18:04:29Z")

</div>

> [@mcihak](#):
>
> Installed platforms: android 3.6.4

This looks really off.  
Could you try this?

```auto
ionic platform rm android 
ionic platform add android@latest --save

```

Then `ionic platform ls` again for me.

---

<div class="post-metadata">

**Author:** ![mcihak](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mcihak/32/104211_2.png) [@mcihak](https://forum.ionicframework.com/u/mcihak)\
**Post date:** [February 21, 2017, 6:07pm UTC](https://forum.ionicframework.com/t/wrong-splashscreen-ratio/80391/9 "2017-02-21T18:07:24Z")

</div>

> [@mhartington](#):
>
> ionic platform ls

no it is:

> Installed platforms: android 6.1.2  
> Available platforms: amazon-fireos, blackberry10, browser, firefoxos, ios

---

<div class="post-metadata">

**Author:** ![mcihak](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mcihak/32/104211_2.png) [@mcihak](https://forum.ionicframework.com/u/mcihak)\
**Post date:** [February 21, 2017, 7:47pm UTC](https://forum.ionicframework.com/t/wrong-splashscreen-ratio/80391/10 "2017-02-21T19:47:15Z")

</div>

there is another issue. I can install any plugin. Error which I have:

> Error: Cannot find module ‘internal/fs’  
> at Function.Module.\_resolveFilename (module.js:470:15)  
> at Function.Module.\_load (module.js:418:25)  
> at Module.require (module.js:498:17)  
> at require (internal/module.js:20:19)  
> at evalmachine.:18:20  
> at Object. (/usr/local/lib/node\_modules/cordova/node\_modules/npm/node\_modules/graceful-fs/fs.js:11:8)  
> at Module.\_compile (module.js:571:32)  
> at Object.Module.\_extensions…js (module.js:580:10)  
> at Module.load (module.js:488:32)  
> at tryModuleLoad (module.js:447:12)

---

<div class="post-metadata">

**Author:** ![mcihak](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mcihak/32/104211_2.png) [@mcihak](https://forum.ionicframework.com/u/mcihak)\
**Post date:** [February 21, 2017, 8:27pm UTC](https://forum.ionicframework.com/t/wrong-splashscreen-ratio/80391/11 "2017-02-21T20:27:16Z")

</div>

I installed some things by brew and npm. Now everiyhing is fine.
