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 while running build script on Windows machine #13

Open
andrysatko opened this issue Jan 4, 2024 · 5 comments
Open

Error while running build script on Windows machine #13

andrysatko opened this issue Jan 4, 2024 · 5 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request good first issue Good for newcomers

Comments

@andrysatko
Copy link

andrysatko commented Jan 4, 2024

There is a difference in running scripts between Mac OS and Windows. Error when running yarn build on Windows :
$ INLINE_RUNTIME_CHUNK=false react-app-rewired build
'INLINE_RUNTIME_CHUNK' is not recognized as an internal or external command,
operable program or batch file.

Possible Solution

  1. npm install --save-dev cross-env
  2. Adjust build script : "build": "cross-env INLINE_RUNTIME_CHUNK=false react-app-rewired build",
@Kabirsharma2607
Copy link

"build": "set INLINE_RUNTIME_CHUNK=false && react-app-rewired build", this works :).

@pritipsingh
Copy link
Owner

Thanks for raising, will update this in contributing guide.

@pritipsingh pritipsingh added documentation Improvements or additions to documentation enhancement New feature or request good first issue Good for newcomers labels Jan 5, 2024
@yashP45
Copy link

yashP45 commented Jan 12, 2024

"build": "set INLINE_RUNTIME_CHUNK=false && react-app-rewired build", this works :).

This Works . Thanks

@Mahitej28
Copy link

Mahitej28 commented Feb 23, 2024

Getting errors while running the extension in Windows, @pritipsingh
image

@bhaveshhptl
Copy link

Getting errors while running the extension in Windows, @pritipsingh image

Same for me too
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

6 participants