Skip to content

Firebase not deploying. #199

@JohnWP8253

Description

@JohnWP8253

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions