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

yoke create-app is not working on windows #5

Closed
plequang opened this issue Feb 18, 2015 · 5 comments
Closed

yoke create-app is not working on windows #5

plequang opened this issue Feb 18, 2015 · 5 comments

Comments

@plequang
Copy link
Contributor

Hi,

The command

yokei create-app 

is not working on windows.

It fails when running spawn('npm', ['install'])
Actually this is because of this node.js issue : nodejs/node-v0.x-archive#2318
spawn does not find npm.cmd on windows.
The same problem occurs when running bower.

Unfortunately, I don't have the impression that this is about to be solved in node.

Personnally, I've modified yoke-cli locally to run npm.cmd and bower.cmd so that it works.

@ghost
Copy link

ghost commented Apr 24, 2015

Any details on how you accomplished this, I'm having the same problem

@dvonlehman
Copy link
Contributor

Hi, the latest version of yoke-cli on npm includes a windows specific patch to address the nodejs/node-v0.x-archive#2318 issue. It's based on the solution used in the spawn-cmd module. Please npm update -g yoke-cli and give it a shot. Thanks.

@plequang
Copy link
Contributor Author

Hi David,

Just tested create-app with yoke-cli 1.0.5 and it works on windows now.
So I'm closing this issue.
Thanks

Pascal

@ghost
Copy link

ghost commented Apr 25, 2015

Ok, my problem was unrelated to the previous issue. It seems that I only have the problem when trying to run 'yoke create-app' on a Windows 8 PC, with a Microsoft Live account instead of a local account. I created a new local profile, and boom everything seemed to work fine.

@plequang
Copy link
Contributor Author

That's strange. I'm also using a windows 8 PC, signed in with a microsoft account, and yoke create-app is working for me,

What kind of error do you get ?

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

2 participants