Carbon: yarn build failing on fork of repo

Created on 1 Jul 2019  路  8Comments  路  Source: carbon-design-system/carbon

What package(s) are you using?

  • [x] carbon-components

Summary

yarn build spits out the following error after cloning and running yarn install on a fork of the monorepo.

2019-07-01 14_26_17-Window

Is there a step that I am missing in the setup of the monorepo?

medium 1 馃毃 bug 馃悰

Most helpful comment

Hey all! :wave: We've just recently merged in more support for building on Windows, I believe it will help to address this so definitely give it a shot! If not, feel free to comment again and I can re-open this!

All 8 comments

looks like you are on Windows right? possibly related #2434

Yeah, on Windows. Any ETA on the PR to fix this then?

Hey @hshockley! 馃憢 We aren't currently working on addressing the issues in Windows, but would love any help to get it working there. I believe @emyarod was hoping to tackle it in our next project cycle, but if you have any knowledge or expertise in the meantime to help out that would be greatly appreciated!

When evaluating this initially, it seems like how we are doing paths is not platform-agnostic, and so we would need to update things to support filesystem patterns for Windows/Mac/Linux.

just made some updates to https://github.com/carbon-design-system/carbon/pull/2453, would like some additional testing

@hshockley have you had a chance to check out the fixes made in #2453? it seems to hang (with no errors) when building icons-angular, but the errors that occur prior to building icons-angular should be resolved

@emyarod I was able to check out the fixes and I am getting the same behavior. I took a look in icons-angular for any places where .replace was used but did not find any. My guess is that it might have something to do with how the paths are written in fs.writeFile(. Not 100% sure though.

@hshockley thanks for confirming! I will dig around the icons-angular codebase and see what's going on. I want to make this a priority for our next release (10.5) now that we're wrapping up 10.4

Hey all! :wave: We've just recently merged in more support for building on Windows, I believe it will help to address this so definitely give it a shot! If not, feel free to comment again and I can re-open this!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

antonmc picture antonmc  路  3Comments

AnthumChris picture AnthumChris  路  3Comments

laurenmrice picture laurenmrice  路  3Comments

jhpedemonte picture jhpedemonte  路  3Comments

ConradSchmidt picture ConradSchmidt  路  3Comments