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

fix: The windows environment failed to yarn dev #1337

Merged
merged 2 commits into from
May 29, 2024

Conversation

EnochGao
Copy link
Member

No description provided.

Copy link

vercel bot commented May 28, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
vivliostyle ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 29, 2024 9:57am

@MurakamiShinyu
Copy link
Member

@EnochGao Thanks for the fix.

I didn't notice this problem, probably because I use Windows only occasionally, with Git Bash instead of Cmd or PowerShell.

I think this fix is fine, but I think "cross-env" should be added in "devDependencies" in the "packages/viewer/package.json" -- I hardly understood why it worked without it, and then I found that the "packages/react/package.json" has "cross-env" in "devDependencies":

"cross-env": "^7.0.2",

"packages/viewer" and "packages/react" should be independent. So "cross-env" should be added in packages/viewer's "devDependencies".

Copy link
Member

@MurakamiShinyu MurakamiShinyu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! LGTM💮

@MurakamiShinyu MurakamiShinyu merged commit 20fee03 into vivliostyle:master May 29, 2024
4 checks passed
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 this pull request may close these issues.

2 participants