-
Notifications
You must be signed in to change notification settings - Fork 30
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 error when trying to build with webpack support for Android #42
Comments
@andy-tai could you try exporting the |
@andy-tai any news on this? |
oh, sorry I missed that. I will try it today |
OK that would allow the build process to pass that error, to the next one:
|
@andy-tai Ugh, nasty. I'll try to take a look but I'm pretty busy this month 😞 |
Hey there, i had the same problem as @andy-tai and a google search brought me here. I can confirm that exporting the @andy-tai The error you got after exporting the @rborn If exporting the Regards, |
@andy-tai @masseelch could you check this branch please. Thank you. |
@rborn Im quite busy at the moment but i will try to take a look in the next week. |
@rborn I had some spare time and tested the suggested branch. I still get the same error as reported by @andy-tai:
Exporting the
However, this seems to be related to #47. Regards. |
sorry I don't have time now to test this but thanks for fixing the issue and testing the fix! |
Hi all, I am using tns 2.5 and adding Thanks! |
@ludcila the current version has the |
Hi @rborn, I have problems making the latest version work with Nativescript 2.5. Version 0.1.6 works fine, but I have to manually add the Is the latest version supposed to work also with older versions of Nativescript? I cannot move my application to 3.0 yet because I need other issues to be solved first. |
@ludcila I'm sorry but you will need to make a fork, roll back to 0.1.6 and add the export yourself for 2.5 |
I see, thanks for clarifying :) |
(NS 2.5)
Take the Nativescript-Angular demo program in the pull request #41; cd to the demo program demo_angular's directory, run it to ensure it runs normally without webpack, and try to add the web pack plugin as instructed here http://docs.nativescript.org/angular/tooling/bundling-with-webpack.html:
npm install --save-dev nativescript-dev-webpack
and then when trying to test the Android bundle,
npm run start-android-bundle
that would fail with these error:
ERROR in Error encountered resolving symbol values statically. Reference to a non-exported class L. Conside
r exporting the class (position 15:1 in the original .ts file), resolving symbol NativeScriptI18nModule in
/run/media/atai/922aaf05-07b2-4f6a-927a-5456003f94c1/software/nativescript/nativescript-i18n.git/demo_angular/node_modules/nativescript-i18n/angular.ts
The text was updated successfully, but these errors were encountered: