grommet / grommet-cli

Deprecated, use create-react-app for v2 instead. Command Line interface for grommet
Apache License 2.0
28 stars 18 forks source link

Grommet-cli and Yarn run script issue #24

Closed arjunbm468 closed 7 years ago

arjunbm468 commented 7 years ago

I have created the sample application using the NPM instructions as per https://grommet.github.io/docs/get-started

I found an strange issue, not sure whether that grommet-cli issue or yarn issue. The npm test command works fine but yarn test does not work.

yarn test just waits for some input from the keyboard like enter key then it starts executing.

I have used GIT BASH and Cygwin for reproducing the issue. But there are no issues in Windows command prompt though.

Could you please help me on this topic.

Screen shot: capture

arjunbm468 commented 7 years ago

@alansouzati Please review this issue and let me know your thoughts on this...

alansouzati commented 7 years ago

I'm glad you are using yarn. I cannot reproduce this issue in a Mac. I have to guess this is a problem with the CLI engine you are using. :(

I cannot think of a fix for this. Do you have any suggestion?

arjunbm468 commented 7 years ago

@alansouzati Not sure, whether yarn is causing the issue...

This link should give us some hint- https://github.com/yarnpkg/yarn/issues/2785

alansouzati commented 7 years ago

well based on my reading if definitely seems a yarn issue. Just to understand, why you are not sure?

alansouzati commented 7 years ago

hey @arjunbm468 any updates here?

alansouzati commented 7 years ago

I'm going to close this issue as I cannot reproduce it. feel free to reopen it if you still believe there is something to be fixed in Grommet core.