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

npm run build will fails on windows 10 #5

Open
suiucat opened this issue Sep 1, 2022 · 0 comments
Open

npm run build will fails on windows 10 #5

suiucat opened this issue Sep 1, 2022 · 0 comments

Comments

@suiucat
Copy link

suiucat commented Sep 1, 2022

package.json:
"build": "INLINE_RUNTIME_CHUNK=false react-scripts build",
This syntax for building a react project fails on Windows 10.

The right syntax for it to work is:
"build": "set INLINE_RUNTIME_CHUNK=false && craco build",

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

1 participant