-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
console.dir works the same as log #875
Comments
From @NickIliev on November 13, 2017 11:34 Hey @Andy-ZYA thank you for reporting this issue - confirming this one as a bug. Steps to reproduce - use this test app and see how console.dir works at this line |
From @NickIliev on November 13, 2017 11:34 From @blueberrynotblue on October 30, 2017 8:25 @NickIliev btw,is tns 3.3.0 not available now? npm install and update not work for 3.3.0 |
From @NickIliev on November 13, 2017 11:34 @blueberrynotblue it is available on NPM.
|
From @NickIliev on December 5, 2017 15:42 Issue is still reproducible on ioS with release and master branches (3.3.0 and next) for tns-ios and tns-core-modules. Steps to reproduce:
On iOS
on Android the same command dumps the properties as expected |
Is there an ETA on this bug? I can confirm this still happens to me on 3.4.1 ios only. |
@Christopotamus - we will make sure to align the behaviour of |
I get this bug too with Android on Mint 18.3 nativescript 3.4.3 |
After modifying the app several times and tns run refreshing it, it started working. |
@Neutrino-Sunset , Have in mind that this fix will be available in the next official release of |
@Natalia-Hristova I'm still getting this. I'm using ios simulator on mac
CONSOLE LOG file:///app/main-page.js:16:16: [object Object] |
@aaayushsingh what's your version of |
@Natalia-Hristova it's 3.4.3 |
@aaayushsingh the issue is also related with nativescript so you should update
Then remove ios platform and add it's Please let me know if you still face the same issue after the update. |
@Natalia-Hristova Works now, thanks! There is no indenting though, everything is to the very left of the terminal. It's hard to find things, is it going to change before the release? |
@aaayushsingh Happy to hear that! =) Actually, this is expected. It's shown the same way as it is in |
@Natalia-Hristova I was talking about this behaviour highlighted in this image. I can work on it and possibly submit a PR, just guide me to the part where I look for it and start working. |
Ohh , now I understand. You're right - definitely can be better
Great! It would be super awesome! First, you can start with environment setup -> README.md after that you can check the guidelines to follow when contributing - CLA signing, branch management, etc and also read how to connect the local iOS runtime project to a custom {N} project for easier debugging You can look at this code to implement the fix you suggest. Hope this will help you to start and soon you will became a part of the the {N} contributors family :) If you have any questions or face any problems related to the setup or not, feel free to open a new issue so it would be easier to find it and to be resolved (instead of writing here in this issue). |
From @NickIliev on November 13, 2017 11:34
From @NickIliev on October 30, 2017 7:41
From @Andy-ZYA on October 28, 2017 8:48
I am following the official tutorial and after I change console.log to console.dir, the terminal shows the same thing.
CONSOLE LOG file:///app/app.component.js:6:20: [object Object] CONSOLE LOG file:///app/tns_modules/@angular/core/./bundles/core.umd.js:2957:20: Angu
How should I fix this problem?
Copied from original issue: NativeScript/NativeScript#4997
Copied from original issue: NativeScript/nativescript-cli#3186
Copied from original issue: NativeScript/NativeScript#5064
The text was updated successfully, but these errors were encountered: