These are chat archives for angular/angular-2-ionic-2

18th
Apr 2017
Kyo
@pmcuong120394
Apr 18 2017 03:07
cant we styling for ghost div when it's dragging :D
Pavel Šindelka
@pavel-sindelka
Apr 18 2017 11:03
Hello guys, could I use ionic build android if I have builded angular 2 app (via Angular CLI) when I have builded it in /www and have ionic.config.json and config.xml?
I need to do android app from builded angular2 web app
When I use ionic build android my app is whitescreen but when I use ionic serve -l thats work fine
Ghost
@ghost~58e38655d73408ce4f55fba1
Apr 18 2017 18:51
Hello guys? I'm building an ionic electron app and I need to know if the app is running on Mac, windows or whatever. any help?
Carlos Esteban Lopez Jaramillo
@luchillo17
Apr 18 2017 18:52
Well Node should have an npm package that let's you ask for the platform
Ghost
@ghost~58e38655d73408ce4f55fba1
Apr 18 2017 18:53
Let me check
Carlos Esteban Lopez Jaramillo
@luchillo17
Apr 18 2017 18:54
Look at the platform section: https://nodejs.org/api/os.html
blob
I think you only care for linux, win32 and darwin, those stand for linux (duh!), Windows both 32 and 64 versions, and Mac (dunno why darwin).
Z3roCoder
@Z3roCoder
Apr 18 2017 18:59
Is it possible that Ionic2 has a Problem with Angular2's automatic change detection? This Plunkr works for me in pure Angular2, but using Ionic2, it works only on first navigation, then never again
Ghost
@ghost~58e38655d73408ce4f55fba1
Apr 18 2017 19:00
@luchillo17 Thanks man! It worked
Crystal R Williams
@CORT0619
Apr 18 2017 19:22
Is anyone familiar with showing errors using formbuilder/formgroups? I'm using this.formGroupName.errors but nothing is being output. any ideas?
Ghost
@ghost~58e38655d73408ce4f55fba1
Apr 18 2017 19:41
Guys I'm having trouble with path.join in ionic 2. I want my ionic electron app to use a folder in the user home dir let dir = path.join(homeDir(), 'myFolder') but I get
ERROR Error: Uncaught (in promise): TypeError: Arguments to path.join must be strings
I think I found the problem homeDir() was returning undefined
Carlos Esteban Lopez Jaramillo
@luchillo17
Apr 18 2017 21:48
@CORT0619 It happens to me as well, i have to ask for the error in the specific control instead of the controlGroup of the form or any nested controlGroup, maybe it's a bug, maybe it's intended, it's worth the try to search for such an issue in angular's github repo.
Pavel Šindelka
@pavel-sindelka
Apr 18 2017 22:06
Hello guys, could I use ionic build android if I have builded angular 2 app (via Angular CLI) when I have builded it in /www and have ionic.config.json and config.xml?
I need to do android app from builded angular2 web app
When I use ionic build android my app is whitescreen but when I use ionic serve -l thats work fine
Carlos Esteban Lopez Jaramillo
@luchillo17
Apr 18 2017 22:53
Anyone knows how to make nested forms in nested components?