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

Error running start script on Windows at Chapter 6 #73

Open
talohana opened this issue Nov 3, 2021 · 0 comments
Open

Error running start script on Windows at Chapter 6 #73

talohana opened this issue Nov 3, 2021 · 0 comments
Labels

Comments

@talohana
Copy link

talohana commented Nov 3, 2021

I'm currently going through chapter 6, working with React.
The start script sets environment variable named EXTEND_ESLINT, which on windows outputs the following error:

'EXTEND_ESLINT' is not recognized as an internal or external command, operable program or batch file.

I ended up using cross-env and updating the start script to:

  "scripts": {
    "start": "cross-env EXTEND_ESLINT=true react-scripts start"
  },

And maybe you could add some explanation of why we need this dependency where you explain other project dependencies.

I would happily submit a PR (with some instructions on how to apply them to all branches).

@lorensr lorensr added the bug label Dec 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants