Skip to content

Instantly share code, notes, and snippets.

@sparkoo
Created July 24, 2019 06:29
Show Gist options
  • Save sparkoo/c41e9b01dac903e5564e1b7ba4322500 to your computer and use it in GitHub Desktop.
Save sparkoo/c41e9b01dac903e5564e1b7ba4322500 to your computer and use it in GitHub Desktop.
react exception
> react-redux-realworld-example-app@0.1.0 start /projects/react-redux-realworld-example-app
> cross-env PORT=4100 react-scripts start
sh: cross-env: command not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! react-redux-realworld-example-app@0.1.0 start: `cross-env PORT=4100 react-scripts start`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the react-redux-realworld-example-app@0.1.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/user/.npm/_logs/2019-07-24T06_28_31_839Z-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment