Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Just get a white screen #46

Open
jfoclpf opened this issue Sep 16, 2017 · 2 comments
Open

Just get a white screen #46

jfoclpf opened this issue Sep 16, 2017 · 2 comments

Comments

@jfoclpf
Copy link

jfoclpf commented Sep 16, 2017

Thank you for your template, seems nice!

Though when I run it in Android just get a white screen!

cordova run android --device

I did as you said

npm install 
gulp initialize 
gulp watch 
cordova build android

I already updated all my npm packages

And btw, I don't know if related, but when I do gulp watch I get some typescript errors

[01:18:58] Using gulpfile /home/jfolpf/formParkingViolation/formParkingViolationV2/gulpfile.js
[01:18:58] Starting 'watch'...
[01:18:58] Starting 'default'...
[01:18:58] Starting 'default:clean'...
[01:18:58] Finished 'default' after 40 ms
[01:18:58] Finished 'watch' after 57 ms
[01:18:58] Finished 'default:clean' after 69 ms
[01:18:58] Starting 'default:html'...
[01:18:58] Finished 'default:html' after 57 ms
[01:18:58] Starting 'default:scss'...
[01:18:59] Finished 'default:scss' after 992 ms
[01:18:59] Starting 'default:ts'...
typings/globals/node/index.d.ts(40,5): error TS1131: Property or signature expected.
typings/globals/node/index.d.ts(40,14): error TS1005: ';' expected.
typings/globals/node/index.d.ts(41,1): error TS1128: Declaration or statement expected.
typings/globals/node/index.d.ts(82,26): error TS1110: Type expected.
typings/globals/node/index.d.ts(285,40): error TS1110: Type expected.
typings/globals/node/index.d.ts(1846,37): error TS1110: Type expected.
typings/globals/node/index.d.ts(1863,18): error TS1005: '=' expected.
typings/globals/node/index.d.ts(1863,24): error TS1005: ';' expected.
typings/globals/node/index.d.ts(1869,18): error TS1005: '=' expected.
typings/globals/node/index.d.ts(1869,30): error TS1005: ';' expected.
typings/globals/node/index.d.ts(4052,33): error TS1110: Type expected.
[01:19:00] TypeScript: 11 syntax errors
[01:19:00] TypeScript: emit failed
[01:19:00] Finished 'default:ts' after 1.09 s
[01:19:00] Starting 'default:inject'...
[01:19:00] gulp-inject 2 files into index.html.
[01:19:00] Finished 'default:inject' after 19 ms
@jfoclpf
Copy link
Author

jfoclpf commented Sep 16, 2017

FYI regarding the packages I have installed locally

root@toshiba:/home/jfolpf/formParkingViolation/formParkingViolationV2# npm list --depth=0
/home/jfolpf/formParkingViolation/formParkingViolationV2
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]

@CKGrafico
Copy link
Owner

You have errors on 'typings/globals/node/index.d.ts' that super strange :S I've some months without touching anything, there are some recommendations:

1.- npm cache clean and npm install -f
2.- remove all the ^ from package.json and install the exactly version
3.- check https://github.com/CKGrafico/Cordova-Multiplatform-Template/wiki/Frequently-Asked-Questions-(FAQ)
4.- downgrade you nodejs to v6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants