Deployment Series Part 1: How to Deploy an Angular 2 or React Application With AWS with EC2
John Huynh

Hi ! thanks for the tutorial ! When I run this command pm2 start http-server ~/usr/local/bin/http-server — name app — ~/your_cloned_repo_name/dist/ -p 80

I get :

[PM2] Starting /usr/local/bin/http-server in fork_mode (1 instance)
[PM2] Done.
[PM2][ERROR] script not found : /root/usr/local/bin/http-server — name
script not found : /root/usr/local/bin/http-server — name

Please how can I fix this ! thanks