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

ghost-cli on Windows #53

Closed
mineiro opened this issue Oct 8, 2016 · 3 comments
Closed

ghost-cli on Windows #53

mineiro opened this issue Oct 8, 2016 · 3 comments

Comments

@mineiro
Copy link

mineiro commented Oct 8, 2016

Hi guys!

After installing ghost-cli on Windows 10 as pointed out on http://support.ghost.org/v1-0-alpha/, I have tried to execute the ghost install command without success.

It outputs the following:

PS C:\Users\user\Code\ghost-blog> ghost install
spawn C:\Users\user\AppData\Roaming\npm\node_modules\ghost-cli\node_modules\.bin\npm ENOENT

Am I doing something wrong?

I'm using:

PS C:\Users\user\Code\ghost-blog> node -v
v6.6.0
PS C:\Users\user\Code\ghost-blog npm -v
3.10.3
PS C:\Users\user\Code\ghost-blog>

Thanks!

@ErisDS
Copy link
Member

ErisDS commented Oct 8, 2016

Hi there @mineiro,

Windows works completely differently to unix based systems. The intended target for running ghost install is linux/ubuntu (the recommended production environment) and it is being developed on mac. Those two systems are close enough that I would expect it to work on both.

We do want it to work on Windows eventually, but at this early stage, no work has yet been done to test or to add handling for Windows, where both the file system and the way commands are run are quite different.

We'd love some help though, we'd love some PRs providing windows support 👍

@VeldMuijz
Copy link

Had a discussion earlier with @acburdine and we think it might be a path related issue. I'm not able to reproduce this error because I can't run npm on the box I have right now.

@acburdine will check this out.

@maelgrove
Copy link

maelgrove commented Jun 22, 2017

@mineiro,

If you still want to use the ghost-cli on Windows 10, you can take advantage of the Windows Subsystem for Linux a.k.a. Bash on Ubuntu on Windows available on Windows 10 Versions build > 14393.

For activating Ubuntu on Windows, follow the instructions here:

https://msdn.microsoft.com/en-us/commandline/wsl/install_guide

Then you can simply install node.js, Python > 2.7 and finally the ghost-cli (you also might need the build-essentials for baking Python).

ghostwin


EDIT

This is not related to #53 which has been fixed in #94. I'm just providing an option if you have * ANY * issues related to Windows and ghost-cli (the current version 1.0.0-beta1 fails too, at least on my system).

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