Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Bug: Response with status: 200 for URL: null (tns-core-modules 2.5.2) #3924
However, I can't retrieve any data with the new modules. No other errors.
I had to downgrade the tns-core-modules to 2.4.3. With this version, everything works fine...
I'm using the same technique to GET-Request as shown here:
These are the dependencies (package.json) with the working version:
So I downgraded Typescript back to 2.1.6 and the app works again.
Whatsoever, I'd really love to upgrade and update to the newer Nativescript versions. Therefore, I'll post everything needed, to reproduce this bug.
Regarding HTTP issue
Also the map in our example works fine for httpbin.org but you might need to goo deep for your server (again we need the full response from the server to know exactly how to parse the result)
I have also created test application using 2.5.2 CLI and modules 2.5.2 and all the angular dependencies with versions from the default template and it works as expected/ Here you can find the test application to compare with your own.
If you стилл encounter this behavior please post a sample project that can reproduce the case (with server URL and all requirements needed)
Regarding TypeScript issue
@NickIliev Thx for your fast answer.
However other things start breaking:
However, 2.6 doesn't work because of TypeScript incompatibility:
and even with Typescript 2.1.6 build errors:
Bit of a mess right now
@Taremeh indeed nativeScript 3.0 will fix all of the posted issues plus it will introduce some great performance optimizations along with some breaking changes - stay in touch and expect the next official release pretty soon.