Topic: [Admin Template] Wrong version of typescript in package.json
                  
                  alain.deurveilher@gmail.com
                  pro
                  asked 7 years ago
                
                Hello,
in the package.json of the admin template (v6.1.2), there is a wrong version of typescript which result in a compilation error:
                
                
                
                  
                  
                  
                    
                    
                
              
              
              
            ERROR in the Angular Compiler requires TypeScript >=2.7.2 and <2.8.0 but 2.9.1 was found instead.Indeed, in the package.json
"typescript": "^2.7.2"is resolved in the latest version of typescript. It must be
"typescript": "2.7.2"instead.
                      
                        Add comment
                      
                    
                  
                
                      
                      Damian Gemza
                      staff
                        answered 7 years ago
                    
                    Dear Alain,
Thanks for your report. We'll fix this problems within next release of Angular Admin Templates.
Best Regards,
Damian
                    
                      
                    
                    
                    
                    
                  
                  
                
                      
                      alain.deurveilher@gmail.com
                      pro
                        answered 7 years ago
                    
                    Speaking of the package.json, the packages @angular/cli and @angular/compiler-cli should be removed from the "dependencies". They already are in the "devDepenecies"
                    
                      
                    
                    
                    
                    
                  
                  
                FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
              Resolved
Specification of the issue
              - ForumUser: Pro
 - Premium support: No
 - Technology: MDB Angular
 - MDB Version: -
 - Device: -
 - Browser: -
 - OS: -
 - Provided sample code: Yes
 - Provided link: No
 
Tags