Wrong splashscreen ratio

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

Have you ran ionic resources ?

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

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

Post your ionic info output please.


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)


Could you post

ionic platform ls

and

ionic plugin ls

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

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”

This looks really off.
Could you try this?

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

Then ionic platform ls again for me.

no it is:

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

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)

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