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

'rm' command alternative to support build on a Windows & Linux OS machine #42433

Closed
alphaxek opened this issue Nov 3, 2022 · 1 comment · Fixed by #49529
Closed

'rm' command alternative to support build on a Windows & Linux OS machine #42433

alphaxek opened this issue Nov 3, 2022 · 1 comment · Fixed by #49529
Labels
Developer Experience Issues related to Next.js logs, Error overlay, etc.

Comments

@alphaxek
Copy link
Contributor

alphaxek commented Nov 3, 2022

What is the improvement or update you wish to see?

Added new devDependencies in below package's package.json file which gives the alternative to the rm -rf command, which is rimraf to support codebase build on a Windows OS machine.

  1. packages/font
  2. packages/react-dev-overlay
  3. packages/react-refresh-utils

Is there any context that might help us understand?

While building the project on a Windows OS machine, the build fails while running the pnpm run build command and exits with exit(1) in the below 3 packages.

  1. packages/font
  2. packages/react-dev-overlay
  3. packages/react-refresh-utils

try to run pnpm run build inside each package. The error is with the rm command, which is not a recognizable command on Windows OS, and the alternative is rimraf .

Does the docs page already exist? Please link to it.

https://github.com/vercel/next.js/blob/canary/contributing/core/building.md

@alphaxek alphaxek added the Documentation Related to Next.js' official documentation. label Nov 3, 2022
@balazsorban44 balazsorban44 added Developer Experience Issues related to Next.js logs, Error overlay, etc. and removed Documentation Related to Next.js' official documentation. labels Nov 3, 2022
@alphaxek alphaxek changed the title Docs: 'rm' command alternative in windows OS in Building README Docs: 'rm' command alternative in windows OS Nov 4, 2022
@alphaxek alphaxek changed the title Docs: 'rm' command alternative in windows OS Docs: 'rm' command alternative in package.json to support build on a windows OS machine Nov 4, 2022
@alphaxek alphaxek changed the title Docs: 'rm' command alternative in package.json to support build on a windows OS machine Docs: 'rm' command alternative to support build on a windows OS machine Nov 5, 2022
@alphaxek alphaxek changed the title Docs: 'rm' command alternative to support build on a windows OS machine 'rm' command alternative to support build on a windows OS machine Nov 18, 2022
@alphaxek alphaxek changed the title 'rm' command alternative to support build on a windows OS machine 'rm' command alternative to support build on a Windows & Linux OS machine Nov 18, 2022
@kodiakhq kodiakhq bot closed this as completed in #49529 May 10, 2023
kodiakhq bot pushed a commit that referenced this issue May 10, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Jun 9, 2023

This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Developer Experience Issues related to Next.js logs, Error overlay, etc.
Projects
None yet
2 participants