-
Notifications
You must be signed in to change notification settings - Fork 133
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
Not Working In Windows #588
Comments
I'm running on Windows 8.1 64bit, when I install roots I get this:
Which doesn't seem too bad? Just missing an optional dep. But then when I create a new project I get this:
So there's some problem occurring reading the JSON file. Any ideas why this could be happening? Or any extra info you'd like me to provide? |
Huh, really weird. No idea, but that helps since I at least know where it's failing in general, seems like an issue with sprout... |
How does that |
Ah that seems like an older version (it's a symlink), but that has been On Tue, Apr 7, 2015 at 5:34 AM Mitchell Coote [email protected]
|
Great thanks, so that fixed that problem but now I'm encountering another with And this is what the directory structure looks after the compile:
|
Ok so this is the error that I've seen happening on windows in the past. On Tue, Apr 7, 2015 at 8:24 PM Mitchell Coote [email protected]
|
We are getting the red X, too. Our Jade, Coffee and Stylus files are compiled correctly, but not renamed. |
Yeah I'm getting the same as sourcehunter, the files in the public folder On Thu, 9 Apr 2015 1:23 am sourcehunter [email protected] wrote:
|
Ah ok, maybe this is an easier issue to fix than I thought. The renaming On Wed, Apr 8, 2015 at 12:40 PM Mitchell Coote [email protected]
|
Thanks for the hint. This seems to be an error in the CoffeeScript compiler. Your RegExp compiles to: res = res.replace(/\.[^\#{path.sep}]*$/, "." + ext)); It seems to parse There are two possible fixes:
I prefer the second solution, which also covers a few more (theoretical) cases. |
Woah, not the kind of bug I suspected! Thanks for the fix and breakdown. So On Wed, Apr 8, 2015 at 4:40 PM sourcehunter [email protected]
|
Fix for "Not Working In Windows #588"
I installed roots globally, but when i run |
now = no .Sorry German autocompletion. |
Hi @Gioni06 -- I need a few more details than this to be able to diagnose what's going on for you. Are you sure this is not an issue with your internet connection? |
Hi @Jenius. I just wanted to let you know that its works now. I was about to reproduce the error, but i switched to Windows 10 and the error disappeared. I'm 100% sure that my connection was just fine though. I think the error was produced at a lower level, not Roots related. Sorry for the false alarm. When i can reproduce the error anytime soon, I will let you know. |
Cool, thanks for the update and glad it's working now! |
This is the error I'm receiving on Windows. Any ideas? |
@edinchez that looks like you need to install Git first. :) |
I was able to install roots on Windows but when I try to make a new project, it does this: C:\Users\ALL INJURY CARE>roots new project Too many arguments. usage: git clone [options] [--] [ ]
] usage: git clone [options] [--] [ ]
at ChildProcess.exithandler (child_process.js:751:12) I have tried everything that I could think of (including trying out the things listed on this forum) to fix this issue but now it is really bothering me. I really would like to be able to use this for Windows. Please, if anyone can help me solve this, that would be great. |
Hey @haxsu, looks like the issue is that your windows username has spaces in it that are not being escaped. Do you happen to know how spaces in paths are escaped in windows? On unix, they are prefixed by a backslash. If this is the same in windows, would be an easy fix here. Also for the future, it's a super bad idea to put spaces in your computer's username 😀 |
@Jenius - you can either surround the path in quotation marks (bar the file extension, if present), or escape spaces with a caret ( |
Of course it would be that -_____________- Welp, we know how to fix it now. I'm not going to have time to personally write the fix for this any time soon, but if anyone wants to take a crack at it I'd gladly review a PR! |
I can verify that renaming my computer name fixed that issue. I also had to add a path directory manually. Now I am having the same issue that monkeez had where as when I run "roots watch" it leaves a blank screen with a red x. Trying to resolve this issue at the moment but help would be appreciated. EDIT: Never mind, fixed the issue. It seems like when I was running roots watch, i did not actually cd to the actual project folder...lol |
@haxsu - Could you elaborate on how you fixed the issue with your Windows user name? I can't get it to work. |
Right now, roots v3 does not work correctly on windows. This issue is the gathering place of all windows-related issues, and a place to send anyone who is asking about a problem they have had with roots on windows.
While having roots work on windows is important to us, the vast majority of our user-base is on mac and linux, and windows support continues getting pushed back by other priorities. If anyone is willing to help out with getting roots working better on windows, please let us know!
The text was updated successfully, but these errors were encountered: