NativeScript/nativescript-sdk-examples-ng

Errors during installation

Closed this issue · 4 comments

LHLK commented

Followed the below instructions:
git clone --depth 1 https://github.com/NativeScript/nativescript-sdk-examples-ng.git
cd nativescript-sdk-examples-ng
tns run android

Errors:
user@LAPTOP-1MS538L2 MINGW64 /e/allsamples/nativescript-sdk-examples-ng (master)
$ tns platform add android
Copying template files...
Installing tns-android
/ Installing tns-android+ tns-android@4.0.0-2017-12-19-05
added 22 packages, removed 23 packages and updated 397 packages in 48.323s
cp: no such file or directory: E:\allsamples\nativescript-sdk-examples-ng\node_modules\tns-android\framework\libs

platform add

┌────────────────────────

Please help.
Regards,
LH

@LHLK can you pen the package.json and see if there is a tns-android listed as a dependency.
if so - remove the entry and rebuild the project.

LHLK commented

Hi NickIliev, great support as usual and it's working now. BTW, in light of ease, could you point me to some resources regarding the css gradient (reference to : NativeScript/NativeScript#539). My client would like to have the Android button native gradient look like this: https://www.dibbus.com/2011/02/gradient-buttons-for-android/

Great support again & Many Thanks!
LH

@LHLK gradient support is logged as a feature here (there are some possible solutions provided in the linked issue). Another possibility is to use nativescript-gradient plugin.

lock commented

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.