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

Does this setup work in windows machine ? #478

Closed
Private-SO opened this issue Jul 14, 2018 · 2 comments
Closed

Does this setup work in windows machine ? #478

Private-SO opened this issue Jul 14, 2018 · 2 comments
Assignees

Comments

@Private-SO
Copy link

Private-SO commented Jul 14, 2018

Hi,

I am running into different types of errors when i am installing the setup in my Windows machine.

These are the commands i had used to

  • yarn add patternfly-react
  • yarn install
  • yarn build

When i am running yarn build it is throwing different errors like this

C:\Program Files\nodejs\patternfly-react>yarn build
yarn run v1.7.0
$ yarn copy-fonts && yarn copy-img && yarn build-css && yarn build-js
$ ncp node_modules/patternfly/dist/fonts src/fonts
There were errors during the copy.
Error: ENOENT: no such file or directory, mkdir 'C:\Program Files\nodejs\pattern
fly-react\src\fonts'
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this comm
and.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this comm
and.

But the setup is working fine in Ubuntu and mac . Why i am getting these errors in my Windows Machine?

BTW i am running above code in CMD prompt in Admin mode.

Thanks

@dlabaj dlabaj self-assigned this Aug 28, 2018
@dlabaj dlabaj added the bug label Aug 28, 2018
@dlabaj
Copy link
Contributor

dlabaj commented Aug 28, 2018

Currently OS specific command prevent this from running on Windows. Converting this to a bug we should fix this by updating package.json to not have OS specific commands.

@jschuler
Copy link
Collaborator

Close in favor of #1557

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

No branches or pull requests

4 participants