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

Build command in package.json #1

Open
banxengineering opened this issue Sep 20, 2024 · 0 comments
Open

Build command in package.json #1

banxengineering opened this issue Sep 20, 2024 · 0 comments

Comments

@banxengineering
Copy link

I tried to 'npm run build' but kept getting this error:

[email protected] build
INLINE_RUNTIME_CHUNK=false react-scripts build

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


The original line in package.json "scripts" section was :

"build": "set INLINE_RUNTIME_CHUNK=false react-scripts build",

I changed it and included '&&'
"build": "set INLINE_RUNTIME_CHUNK=false&&react-scripts build",

That fixed my issue.

Thanks for sharing this!

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