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] Refine Documentation Development Scripts Not Working #6287

Closed
emrecancorapci opened this issue Aug 29, 2024 · 3 comments · Fixed by #6299
Closed

[BUG] Refine Documentation Development Scripts Not Working #6287

emrecancorapci opened this issue Aug 29, 2024 · 3 comments · Fixed by #6299
Assignees
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@emrecancorapci
Copy link
Contributor

emrecancorapci commented Aug 29, 2024

Describe the bug

When I try to run development server at documentation I get an error like this:

image

$ pnpm dev:docs

> [email protected] dev:docs D:\**\refine-fork\documentation
> DISABLE_BLOG=true pnpm run dev:lean

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

Steps To Reproduce

  1. Fork the refine repository.
  2. Clone the forked repository.
  3. Run pnpm install in the main folder.
  4. Run pnpm install in the documentation folder.
  5. Run pnpm dev:docs.

Expected behavior

The development server should run successfully.

Packages

OS: Windows 10 Pro N 22H2 19045.4780
Node: v22.6.0
pnpm: v9.4.0

Additional Context

No response

@emrecancorapci emrecancorapci added the bug Something isn't working label Aug 29, 2024
@BatuhanW
Copy link
Member

BatuhanW commented Sep 2, 2024

Hey @emrecancorapci thanks for the report. I think we need to use cross-env for documentation scripts, as we do it with refine scripts.

We are open to contributions for this one.

@BatuhanW BatuhanW added the good first issue Good for newcomers label Sep 2, 2024
@emrecancorapci
Copy link
Contributor Author

@BatuhanW I would like to be assigned to this issue.

@BatuhanW
Copy link
Member

BatuhanW commented Sep 3, 2024

@emrecancorapci done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants