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

On windows, the react-scripts module is not found when running yarn-start #23

Open
truedat101 opened this issue Jan 17, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@truedat101
Copy link
Contributor

truedat101 commented Jan 17, 2022

This requires some investigation:

Using node 16, npm 8.1.2

from the ui directory:

$ yarn start
yarn run v1.22.17
$ react-scripts start
'react-scripts' is not recognized as an internal or external command,
operable program or batch file.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Apparently this is a common problem on windows.

@truedat101 truedat101 added the bug Something isn't working label Jan 17, 2022
@truedat101
Copy link
Contributor Author

I found no useful help on the windows question. FB closes issues quickly and react-scripts is a part of the larger create react app project.

@truedat101
Copy link
Contributor Author

You can run the script as follows:

  • node node_modules/react-scripts/scripts/start.js
  • node_modules/.bin/react-script start

@truedat101
Copy link
Contributor Author

I'll document this. I still have some bugs running on windows but I'm not going to worry about it for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant