Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

help install #1

Open
scriptbuzz opened this issue Mar 3, 2019 · 1 comment
Open

help install #1

scriptbuzz opened this issue Mar 3, 2019 · 1 comment

Comments

@scriptbuzz
Copy link

Hi Gabe,

Great video tutorial!! I am trying to install s3 uploader on an EC2 instance just to test the setup but when I run it, I get below error. I am more into python scripting to this is all new to me. I followed the Amplify setup without a hitch. My user has full admin. I have latest NodeJS installed. How can I troubleshoot this to get a successful launch.

Thanks

$ npm start

[email protected] start /home/ec2-user/webcam-s3-uploader
react-scripts start

sh: react-scripts: command not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! [email protected] start: react-scripts start
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in:
npm ERR! /home/ec2-user/.npm/_logs/2019-03-03T15_18_04_690Z-debug.log

@hnprashanth
Copy link

hnprashanth commented Mar 15, 2019

This is a react app which is meant to work in the browser, not inside an EC2 instance. On your computer install Node/npm and do following

git clone [email protected]:gabehollombe-aws/webcam-s3-uploader.git
cd webcam-s3-uploader
npm install
amplify configure and setup ampliy on your computer if not already done
amplify init
amplify add storage
amplify push
npm start

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants