how to hide splash screen in ionic 2 or remove or reduce delay loading…Any one have solution for this. My clients is been irritating for this problem.
Build project with
--prod argument ?
More infos here : https://ionicframework.com/docs/cli/cordova/build/
yeah done with that too.Getting Errors.
D:\Reddy\DigitalSignature>ionic cordova build android --prod
Running app-scripts build: --prod --platform android --target cordova
[15:21:04] build prod started …
[15:21:04] clean started …
[15:21:04] clean finished in 46 ms
[15:21:04] copy started …
[15:21:05] copy finished in 1.16 s
[15:21:05] deeplinks started …
[15:21:05] deeplinks finished in 39 ms
[15:21:05] ngc started …
Error: Type SignaturePage in D:/Reddy/DigitalSignature/src/pages/signature/signa
ture.ts is part of the declarations of 2 modules: AppModule in D:/Reddy/DigitalS
ignature/src/app/app.module.ts and SignaturePageModule in D:/Reddy/DigitalSignat
ure/src/pages/signature/signature.module.ts! Please consider moving SignaturePag
e in D:/Reddy/DigitalSignature/src/pages/signature/signature.ts to a higher modu
le that imports AppModule in D:/Reddy/DigitalSignature/src/app/app.module.ts and
SignaturePageModule in D:/Reddy/DigitalSignature/src/pages/signature/signature.
module.ts. You can also create a new NgModule that exports and includes Signatur
ePage in D:/Reddy/DigitalSignature/src/pages/signature/signature.ts then import
that NgModule in AppModule in D:/Reddy/DigitalSignature/src/app/app.module.ts an
d SignaturePageModule in D:/Reddy/DigitalSignature/src/pages/signature/signature
at Error (native)
at syntaxError (D:\Reddy\DigitalSignature\node_modules@angular\compiler\bun
at CompileMetadataResolver.addTypeToModule (D:\Reddy\DigitalSignature\node
at Array.forEach (native)
at CompileMetadataResolver.getNgModuleMetadata (D:\Reddy\DigitalSignature\no
at addNgModule (D:\Reddy\DigitalSignature\node_modules@angular\compiler\bun
at Array.forEach (native)
at _createNgModules (D:\Reddy\DigitalSignature\node_modules@angular\compile
I also have these type of error when
ngc started happen, with
ng2-validation. I never find any solutions. To avoid that I upgraded to Ionic 3.
in your case try use node version 8.9.1
Ohh Okay.Can you please suggest me how to upgrade to ionic 3? I’m Using v6.10.0.
First I recommend you to try Node 8.9.1
If not working, try to upgrade Ionic3, I start a new blank project from Ionic and update all packages with https://www.npmjs.com/package/npm-check-updates (ncu to check updates, ncu -u to apply update, after execute npm install)
ionic serve, and “re-import” your Ionic 2 project in new Ionic 3 project.
What is your
ionic info output?
You should also search the forum for this error message. It has appeared so many times and been solved as often as well.
Tried all of them,but doesnt seems work.