You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading nativescript to 3.1.3 I have the following error in my project when I try to build:
Unable to apply changes on device: <device-id>. Error is: cp: cannot create directory
'/Users/<user>/work/<project>/platforms/android/src/main/assets/app/tns_modules': No such
file or directory.
Did a little investigation and realized the problem is a local dependency in my package JSON:
Hi @surdu,
I tested your case on my side while using latest NativeScript CLI and local tgz file for the plugin, however, I was unable to reproduce this scenario. I am attaching my sample project together with the plugin.
Could you provide some info about the Android device, which you are using for testing? Also, could you check if in the main app folder of the project there is tns_modules folder? If so this could be the reason for this problem and you should delete it. Then you will be able to build the project successfully. Archive.zip
After upgrading nativescript to 3.1.3 I have the following error in my project when I try to build:
Did a little investigation and realized the problem is a local dependency in my package JSON:
Taking this out make the app build again.
The weird part is that's not the only local dependency in my project, I have another that doesn't brakes the build.
I can confirm the problem is only in 3.1.3 because I reverted back to 3.1.2 (twice) and the problem is not reproducible using that version.
For context, here is the full dependencies entry:
The text was updated successfully, but these errors were encountered: