Questions tagged [nativescript-schematics]
10 questions
                    
                    3
                    
            votes
                
                1 answer
            
        How to convert existing NativeScript Angular project to Code Sharing project
All available tutorials talk about converting Angular Web Apps to codesharing Nativescript projects. I want to do the opposite. 
I almost finished coding the mobile app with Nativescript and now I wanna make the Web App with the code sharing in…
         
    
    
        Mina Ashraf Zaki
        
- 51
- 1
- 6
                    3
                    
            votes
                
                2 answers
            
        NativeScript Schematics - singleton Service constructor getting called multiple times
Singleton Service constructor getting called multiple times in a nativescript-schematics code sharing project. Here is some important dependencies version from my  package.json:
"tns-android": {"version": "5.0.0"}
"@angular/core":…
         
    
    
        Narendra
        
- 4,514
- 2
- 21
- 38
                    2
                    
            votes
                
                0 answers
            
        Creating new code sharing project in Nativescript gives dependency error on tslint and tslint-rules
I'm working on a Nativescript project that needs to be converted into native Android code. I have little Nativescript experience so I'm doing a tutorial on "code sharing".
https://docs.nativescript.org/code-sharing/creating-a-new-project
I've gone…
         
    
    
        Jim Clermonts
        
- 1,694
- 8
- 39
- 94
                    2
                    
            votes
                
                1 answer
            
        Latest NativeScript + Angular is broken
I updated nativeScript, @angular/cli and @nativescript/schematics to their latest stable version. Generated a new project as:
ng new port --collection=@nativescript/schematics --shared --style=scss --prefix=port
followed by
tns run ios…
         
    
    
        Gaurav Sharma
        
- 31
- 4
                    2
                    
            votes
                
                1 answer
            
        Why is NO_ERRORS_SCHEMA so frequently used by nativescript?
I noticed that NO_ERRORS_SCHEMA is frequently used by nativescript modules both by the nativescript-schematics but also in examples by nativescript with Angular. However I'm just wondering why that is the case?
I guess there is a good explanation…
         
    
    
        user3804328
        
- 54
- 5
                    2
                    
            votes
                
                2 answers
            
        NativeScript + Angular: Code Sharing Project
I followed the Nativescript steps for creating a new code sharing project here and I would like to use sass. I tried both for ones that have the NatievScript theme as well as the one that does not:
ng new -c=@nativescript/schematics no-theme-project…
         
    
    
        L1ghtk3ira
        
- 3,021
- 6
- 31
- 70
                    1
                    
            vote
                
                0 answers
            
        Error after added nativescript schematics to an angular project
Added nativescripts to exisiting Angular Application using this npm install --global @nativescript/schematics and ng add @nativescript/schematics
Got below error
ERROR in error TS6053: File 'C:[path]/src/src/main.ts' not found.
error TS6053: File…
        
    
                    0
                    
            votes
                
                2 answers
            
        NativeScript Could not find module "@nativescript/schematics"
When I make tns generate component movies, I get terminal log:
Could not find module "@nativescript/schematics".
I tried solutions from https://github.com/NativeScript/nativescript-schematics/issues/130 , but next terminal message is:
Error: Invalid…
         
    
    
        wiotrek
        
- 31
- 5
                    0
                    
            votes
                
                1 answer
            
        My gradlew.bat keeps failing on tns build android
So I've been working with Angular-Nativescript for the past few months and had a project all working with Angular 9.
After a short break I started working on another machine which had said project working on it but without remembering it was on…
         
    
    
        Roland
        
- 85
- 3
- 11
                    0
                    
            votes
                
                0 answers
            
        NativeScript/Angular - How to share imports between the two applications?
I can't believe this isn't mentioned anywhere on the internet nor in the official NativeScript docs.
How do you share imports between a web app and a native app?
The following works when running the app in a native environment with npm run…
         
    
    
        Chrillewoodz
        
- 27,055
- 21
- 92
- 175
