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

App doesn't start following setup instructions - 'react-scripts' is not recognized #3

Open
devalbo opened this issue Dec 23, 2018 · 3 comments

Comments

@devalbo
Copy link

devalbo commented Dec 23, 2018

I am trying to follow the setup instructions on Windows and everything installs as expected. However, when I run npm start, I get the output below:
'

[email protected] start C:\Users\ajb\Projects\myApp
react-scripts start
'react-scripts' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: react-scripts start
npm ERR! Exit status 1
'

I think this is because there is no react-scripts dependency in the package.json file.

@christroutner
Copy link
Contributor

christroutner commented Dec 24, 2018

I believe I ran across this issue too. When I ran:

bitbox new hello-test

The scaffolding application errored out. That was with node v8 installed on a Ubuntu 18.04. I was told however, that it worked on Windows. It could have lead to the issue you describe above.

However, it worked when I ran:

bitbox new hello-test -s react

The problem was that the scaffold did not default to React, as described in this documentation

@christroutner
Copy link
Contributor

With regard to the error in this issue, that behavior would be expected if one did not run npm install first. Did you get that same behavior after running the following?

npm install
npm start

@MSFTserver
Copy link

MSFTserver commented Dec 24, 2018

could be related to the commands used when i used this it failed there because cp isnt recognised i had to change that to windows equivalent of xcopy

Sent from my Galaxy Note5 using FastHub

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

3 participants