Error npm start in Angular QuickStart

3 views
Skip to first unread message

Mike Duffey

unread,
Aug 9, 2016, 1:38:48 PM8/9/16
to Angular2
Hello -

I am getting the following error when I type "npm start" in the command line afte downloading the Angular Quickstart onto a Linux AWS EC2 instance.

npm ERR! Linux 4.4.11-23.53.amzn1.x86_64                                                         
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "start"                                             
npm ERR! node v6.3.1                                                                             
npm ERR! npm  v3.10.5                                                                            
npm ERR! code ELIFECYCLE                                                                         
npm ERR! angular2-...@1.0.0 start: `tsc && concurrently "tsc -w" "lite-server" `          
npm ERR! Exit status 2                                                                           
npm ERR!                                                                                         
npm ERR! Failed at the angular2-...@1.0.0 start script 'tsc && concurrently "tsc -w" "lite
-server" '.                                                                                      
npm ERR! Make sure you have the latest version of node.js and npm installed.                     
npm ERR! If you do, this is most likely a problem with the angular2-quickstart package,          
npm ERR! not with npm itself.                                                                    
npm ERR! Tell the author that this fails on your system:                                         
npm ERR!     tsc && concurrently "tsc -w" "lite-server"                                          
npm ERR! You can get information on how to open an issue for this project with:                  
npm ERR!     npm bugs angular2-quickstart                                                        
npm ERR! Or if that isn't available, you can get their info via:                                 
npm ERR!     npm owner ls angular2-quickstart                                                    
npm ERR! There is likely additional logging output above.                                        
                                                                                                 
npm ERR! Please include the following file with any support request:                             
npm ERR!     /home/rpw/npm-debug.log        

I am running node v. 6.3.1 and npm v. 3.10.5.

Has anyone else had this issue, or come across a solution?

Thanks,
Mike

Akhil

unread,
Aug 18, 2016, 3:08:24 AM8/18/16
to Angular2
When you installed dependencies using npm install....was typings folder present under node_modules?? if not try installing typings after you are done with npm install....use: npm run typings install and see now if 'typings' folder is present under node_modules and before that ofcourse make sure typings is present as devDependency in your package.json.
Reply all
Reply to author
Forward
0 new messages