Questions tagged [nativescript-cli]
50 questions
                    
                    7
                    
            votes
                
                2 answers
            
        How to update nativescript cli
Nativescript 5 is out and I am trying to update the tns version. Currently it tns --version shows as 4.3.2. 
I followed all the steps in https://docs.nativescript.org/releases/upgrade-instructions but it still gives me the version as 4.3.2. 
How can…
         
    
    
        Rakesh
        
- 4,004
- 2
- 19
- 31
                    5
                    
            votes
                
                2 answers
            
        Error ENOENT: no such file or directory, scandir 'PATH_PORJECT\platforms\android\app\src\main\res'
I have an error I have a when running tns platform add android command.
I can run other apps (new apps) but no my current and all happens after I install codeworks_android it change the path for the SDK then I reinstall native-script but I'm not…
         
    
    
        Cesar Vega
        
- 455
- 6
- 15
                    5
                    
            votes
                
                1 answer
            
        how to build .ipa file in nativescript
i run this command on Nativescript CLI
tns build ios --release 
but not build .ipa file.
how to build .ipa file?
         
    
    
        MJH
        
- 653
- 2
- 14
- 36
                    5
                    
            votes
                
                1 answer
            
        NativeScript/Angular - How to import global styles?
In a NativeScript app I'm trying to apply some global styles that will be shared across the app.
This is my structure:
- styles
 - partials
  - _buttons.scss
  - _exports.scss
_buttons.scss:
.flt-btn {
  border-radius:…
         
    
    
        Chrillewoodz
        
- 27,055
- 21
- 92
- 175
                    4
                    
            votes
                
                1 answer
            
        Nativescript: add icon and specify name
How would i add a custom icon with a given name to my nativescript project using the tns resources generate icons-command
$tns resources generate icons ~/myfolder/myspecialicon.png
Say i want the command to place the icon(s) in the correct folders…
        
    
                    4
                    
            votes
                
                0 answers
            
        NativeScript-Vue [node-rsa] TypeError: util.inherits is not a function
When trying to include node-rsa got:
TypeError: util.inherits is not a function.
Repro steps:
vue init nativescript-vue/vue-cli-template repro
cd repro
npm install --save node-rsa
npm install
Add this line to HelloWorld.vue:
        
        
    
