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
Build failing on android with 2.4.0 #2258
Comments
From @tsonevn on November 22, 2016 7:41 Hi @NgSculptor,
Delete Hope this helps. |
From @NgSculptor on November 22, 2016 8:1 @tsonevn still getting the same error. I already tried what you have mentioned above, just copy pasted your package.json file just to be sure. |
From @NgSculptor on November 22, 2016 8:31 @tsonevn I also noticed that the TS files are not longer compiled into JS files. Looks like something else is also messed up. Im using the package.json that you specified |
From @NathanaelA on November 22, 2016 10:25 @tsonevn - I can confirm this issue on iOS; I don't understand the full reasons why yet. I am using the latest TypeScript both installed as a Dev Dependency and Globally (2.0.10), and the latest ns-dev-typescript (0.3.3), along with 2.4 of Runtimes, common core, and tns command line program. I took a project that worked perfectly in 2.3 and upgraded it to 2.4 and it seems to have issues deciding when (or if) it will build any TS in JS. Using A couple notes: Work around: More Notes
|
From @NgSculptor on November 22, 2016 15:50 @NathanaelA Just to confirm, you are not having any issues with Android builds? Can you share your dependencies? |
From @NathanaelA on November 22, 2016 20:19 @NgSculptor - To be honest I have NO idea if the Android LiveSync side works. Before Telerik actually created their LiveSync for NativeScript, I wrote my own (nativescript-liveedit); which is currently for only Android. I use my LiveEdit on Android exclusively because it offers many features including being considerably faster than the built in LiveSync. So I have NO idea if LiveSync on Android works, no need to use it. :-) I haven't done any work to make it work on iOS; so I still have to use Telerik's LiveSync on iOS. But you can get around the issue if you do what I said above... This actually appears to be primarily an upstream TSC bug, not a NativeScript bug (per sey). But can be worked around by Telerik if they point it to the |
From @NathanaelA on November 22, 2016 21:21 @NgSculptor - Which version of Node are you using. I'm using 5.11? |
From @NgSculptor on November 23, 2016 0:26 @NathanaelA I am on v4.4.5, the only solution for me right now was to revert to 2.3.0 |
From @NathanaelA on November 23, 2016 2:35 Hmm, I also tested the current 6.9.1, didn't make a difference... I'm not sure why TSC doesn't want to work properly. Fortunately the workaround I listed does work in 2.4, a bit of an annoyance... |
From @tsonevn on November 24, 2016 14:29 Hi @NgSculptor , I research further this problem and found that this problem could be caused due to haveing Regards, |
From @NathanaelA on November 25, 2016 4:15 Actually I ran into another reason which I posted on my blog; when I have a few more minutes I'll try and detail the reason it was broken for me here... |
Conflict between |
From @NgSculptor on November 22, 2016 7:31
Did you verify this is a real problem by searching [Stack Overflow]
Yes
Tell us about the problem
Build is failing on android after update
Which platform(s) does your issue occur on?
Android
Please provide the following version numbers that your issue occurs with:
This is the package.json file that I have:
Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.
This is the console output
Not sure if related, but I started seeing this warning message for both ios and android
Copied from original issue: NativeScript/NativeScript#3139
The text was updated successfully, but these errors were encountered: