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

Windows support #79

Open
bnb opened this issue Mar 22, 2014 · 10 comments
Open

Windows support #79

bnb opened this issue Mar 22, 2014 · 10 comments

Comments

@bnb
Copy link

bnb commented Mar 22, 2014

I was wondering if someone could tell me how to get Slate to work on Windows. Could anybody? I tried for about 45 minutes to get GNU make installed on my Windows 8 computer, but none of the methods I found worked. Is there another way to build it on windows?

@looterz
Copy link

looterz commented Mar 22, 2014

Same issue here, couldn't get it setup properly.

@tj
Copy link
Member

tj commented Mar 22, 2014

changed the "and Windows" to "and eventually Windows" since it should theoretically work fine, but I haven't tried

@tj tj changed the title Load on Windows? Windows support Mar 22, 2014
@bnb
Copy link
Author

bnb commented Mar 22, 2014

Just to let you know, since you haven't tried it, I tried the methods mentioned here for All Platforms and Windows, and both resulted in the following error in a node-webkit browser window:

TypeError: Property 'slate' of object [object Object] is not a function
    at eval (file:///C:/path/to/slate/slate-master/index.html:40:7)

Maybe if this is fixed it will work?

@looterz
Copy link

looterz commented Mar 23, 2014

That's the same error I was getting bnb.

@yasoob
Copy link

yasoob commented Mar 28, 2014

@bnb I also got the same error today. Still trying to solve it. Did you manage to solve it?

@bnb
Copy link
Author

bnb commented Mar 28, 2014

@yasoob No, I didn't, unfortunately. I didn't really attempt to, though.

@yasoob
Copy link

yasoob commented Mar 28, 2014

Agh! I really like this app and really want to get my hands on it. Pity me :(

@tj
Copy link
Member

tj commented Mar 28, 2014

To be fair you'd probably be disappointed right now, there's still quite a bit of work we need to make things fully functional

@bnb
Copy link
Author

bnb commented Mar 30, 2014

@visionmedia @yasoob Totally understand. Looking forward to when this is fixed.

@Acconut
Copy link

Acconut commented Apr 4, 2014

Today I tried to run slate on Windows.

The make targets don't work so I did the build task manually (after cloning slate and copying node-webkit):

npm install
node_modules\.bin\component.cmd install
node_modules\.bin\component.cmd build --standalone slate
zip -rq slate.nw *

Windows doesn't have a zip command by default as Unix has, so I used http://stahlworks.com/dev/?tool=zipunzip which supports the same arguments.

You will now have a slate.nw and nw.exe file in your folder.

To start the app you need a command line in administrator mode and run:

nw slate.nw

If you don't run it as admin you'll get following error in an alert:

failed to load plugin "light": Error: EPERM: symlink
D:\Programs\slate\plugins\light\icons\font\slate.eot

Now a window should open.
image

The controls on the upper right work, but nothing else does.
The console prints following error:

GET file:///D:/Programme/Slate/slate/light/icons/font/slate.svg?93118699  light/icons/font/slate.svg?93118699#slate:1

I hope this might help and we can run it on windows some time. :)

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

5 participants