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 windows build #1674

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

maxrchung
Copy link

Overview
I would like to run this project on Windows but encountered some issues trying to run some of the scripts. In this PR, I adjusted a few things to make yarn build and yarn dev work:

  • Change single quotes to escaped double quotes. Based on this concurrently issue it seems Windows treats quotes differently.
  • Use cross-env to set environment variables in script.
  • Use rimraf to remove files.

I verified on my Windows and Mac machines that yarn build and yarn dev were successful after the changes. One thing separately I also noticed was that Node 18 did not seem to be supported, and I had to downgrade to Node 16 in order to run the project.

Screenshots (if applicable)
N/A

Documentation

  • Updated Typescript types and/or component PropTypes
  • Added / modified component docs
  • Added / modified Storybook stories

Copy link

netlify bot commented Feb 13, 2024

Deploy Preview for evergreen-storybook ready!

Name Link
🔨 Latest commit 534253d
🔍 Latest deploy log https://app.netlify.com/sites/evergreen-storybook/deploys/65cbc056d9ddec0008ae4300
😎 Deploy Preview https://deploy-preview-1674--evergreen-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Author

Choose a reason for hiding this comment

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

Note: I didn't update all of the scripts. I left update-docs as is.

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.

None yet

1 participant