-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Webpack error on Android with plugin added #2760
Comments
it seems to be related to ABIs split |
If I add manually the dependency in my app.gradle it works:
Seems to be somekind of merge error with dependencies in app.gradle |
ping @slavchev , @Pip3r4o |
The NS plugin in question wraps a native (Android) plugin, and leverages NS's power to access native API. We expose metadata for all native API that is referenced in the project (some of which is used in the drawing pad plugin), and for whatever reason the native plugin isn't downloaded in the first place. I will check it out |
Watching this one, and ping @NathanWalker |
@hypery2k could you try removing the platforms/android dir and building the app again? The plugin should have its dependency declared already in |
I always doing this ;) But it doesn't help |
the issue seems to be coming from using es6 in the tsconfig:
If I'm using es5 it's working. But seems a little bit strange to me. I can also use es6 if I adopt my references.d:
Can't I use ES6 normally with NativeScript? Not sure if this related to library error |
@hypery2k The android runtime will bring ES6 support in the upcoming (2.4) release with the update of the javascript (v8) engine. I don't however understand yet how that is causing the problems in question. |
good to know. For us it's currently working with the gradle and tsconfig hacks. |
@hypery2k the issue is resolved with NativeScript 3.4.0 and higher version. Notice that I still had to add the
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I'm facing issues when adding the drawing-pad plugin in combination with the webpack build. I'm always getting the following error:
Any ideas?
I check a similar issue, but it didn't helped
The text was updated successfully, but these errors were encountered: