sampl / firefly

Web app boilerplate for beginners based on Firebase and React 🔥
http://getfirefly.org/
234 stars 42 forks source link

Firebase not deploying. #199

Open JohnWP8253 opened 3 years ago

JohnWP8253 commented 3 years ago

I have tried to deploy an app with the build folder in my master branch and I've gotten this error in my workflow online.

`Run npm run build

react-ecommerce@0.1.0 build /home/runner/work/react-ecommerce/react-ecommerce react-scripts build

sh: 1: react-scripts: not found npm ERR! code ELIFECYCLE npm ERR! syscall spawn npm ERR! file sh npm ERR! errno ENOENT npm ERR! react-ecommerce@0.1.0 build: react-scripts build npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the react-ecommerce@0.1.0 build 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/runner/.npm/_logs/2021-06-14T17_30_40_997Z-debug.log Error: Process completed with exit code 1.`

Any assistance will help a bunch.

sampl commented 3 years ago

Hi @JohnWP8253 , sorry about this, not sure what the issue is. Unfortunately this repo is quite out of date since I haven't had time to update in the past few years.

Just off-hand I would make sure you have run npm install, then try updating packages and seeing if that helps.