Description
yarn startfails with below message
yarn start v0.15.1
$ "react-scripts start"
sh: react-scripts start: command not found
error Command failed with exit code 127.
info Visit http://yarnpkg.com/en/docs/cli/start for documentation about this command.
Expected behavior
According to the prompt after creating a project, yarn star should work.
We suggest that you begin by typing:
cd xyz
yarn start
Happy hacking!
Actual behavior
Tell us what actually happens.
Environment
node -v
v7.2.0
npm -v
3.10.9
create-react-app --version
create-react-app version: 1.0.0
Operating system: MacOSX 10.12.1
Reproducible Demo
- Globally install
create-react-app and create one project called xyz.
- Follow the prompt instructions;
yarn start fails, but npm start works.
Description
yarn startfails with below messageExpected behavior
According to the prompt after creating a project,
yarn starshould work.Actual behavior
Tell us what actually happens.
Environment
Operating system: MacOSX 10.12.1
Reproducible Demo
create-react-appand create one project calledxyz.yarn startfails, butnpm startworks.