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

[Bug]: For Windows users, to build the frontend, you may need alternative commands to build the frontend. #3109

Closed
andrei-galkin-thales opened this issue Jul 10, 2024 · 0 comments · Fixed by #3406

Comments

@andrei-galkin-thales
Copy link

Describe the bug

The current command from the doc does not work.
gatsby clean && rmdir /s /q ..\\autogenstudio\\web\\ui 2>nul & (set \"PREFIX_PATH_VALUE=\" || ver>nul) && gatsby build --prefix-paths && xcopy /E /I /Y public ..\\autogenstudio\\web\\ui

The tweaked one:

gatsby clean && rmdir /s /q "..\autogenstudio\web\ui" 2>nul & (set \"PREFIX_PATH_VALUE=\" || ver>nul) && gatsby build --prefix-paths && xcopy public "..\autogenstudio\web\ui" //E //I //Y

is working.

Steps to reproduce

Use a windows 11 machine and git bash for windows and run
gatsby clean && rmdir /s /q ..\\autogenstudio\\web\\ui 2>nul & (set \"PREFIX_PATH_VALUE=\" || ver>nul) && gatsby build --prefix-paths && xcopy /E /I /Y public ..\\autogenstudio\\web\\ui

You will get

Model Used

No response

Expected Behavior

The command should be executed without any error.

Screenshots and logs

image

Additional Information

No response

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

Successfully merging a pull request may close this issue.

1 participant