-
Notifications
You must be signed in to change notification settings - Fork 216
Error installing foundation-cli on Windows #203
Comments
Same here on Windows 8.1 64-bit. |
I'll look into it, but thankfully that step of the process is just a welcome message—it doesn't set anything up. |
@gakimball It might not set anything up, but I'm still unable to use the cli after that step. |
@gakimball will this help? "postinstall": "node lib/welcome.js" |
That might work. Also, the source code for the CLI is here, in case anyone who knows more about Node than me can help :) |
@jsmreese I can see in your screenshot that it's connecting the CLI's main JavaScript file to a command on your system ( |
Same problem here on windows as admin. Error must interrupt install as foundation-apps isn't found installed locally or globally. @jsmreese do you have Ruby? I was trying to get as far as I could without it, but if it won't even install.... |
@peterblazejewicz I implemented your fix, which should solve the problem.
|
Now working after 1.0.2 update, thanks very much everyone! |
Awesome! @jsmreese @dhye360 @peterblazejewicz let me know if it works for y'alls. |
@gakimball Same error as @gerrytucker for me |
Alright, I'll look into it. Thanks so much for being helpful and patient, guys :) In the mean time, you can do what the installer does by hand:
|
Had to downgrade my Sass gem to 3.4.7 before I could complete the manual commands but now have a newly created app :-) |
Same error. I don't know how to downgrade... |
I tried everything - the only way I could get this working was the manual installation, and that was after having to sort my SSL certificates to install the Bundler gem. Thanks for the help, guys. |
@nandroid Which version of the Sass gem do you have? To install Sass@3.4.7:
I was on sass@3.4.9 which I uninstalled as follows:
Hope this helps. Gerry |
I've managed to get it running by downgrading my sass to 3.4.7 and it worked, thanks gerrytucker . |
I caved and installed Ruby, but but i'm Ruby/Sass ignorant and an overall foundation N00B |
@dhye360 ensure you've got the sass gem installed, required version as mentioned above is 3.4.7:
|
@gakimball I fixed 2/3rd of the commands so that most of them should work now. The problem is on the Node side (or perhaps Windows side?) where I noticed that the |
I changed a few things around. As long as bundler and ruby are installed correctly, the cli should work right (note that it hasn't been tagged and released yet). I changed a few things around, implemented a few fixes from @jsmreese I'm running a similar setup (jruby 1.7.15, Sass 3.4.7 and I'm on Windows 8, best windows there is). Sass was installed via bundler (the gulpfile specifies |
Booya. I uninstalled jruby 1.7.16.1 and installed jruby 1.7.15.
And it builds. Thanks for the help @AntJanus @gakimball @gerrytucker! |
@viztastic Well, the framework came in a little hot last week, so we'd just like to get a slightly more stable version out for people using the framework this early. It's just a lot of little bug fixes. The Bower package is also currently missing the |
@gerrytucker @benjaminzanatta @dhye360 @gakimball Ik had the same error on Windows: The solution for me was to install git for Windows on http://git-scm.com/ en restart my pc. |
Can any Windows users help us test a new build of the CLI? We're working on improving error-handling and cross platform support. Here's how to run the test install:
If all goes well, you'll see three green check marks at the end of the install. If you get an error, please paste it in here so we can take a look. Thanks! |
Win 7 Ultimate 64-bit
|
Now it starts and there is one red mark :) Win 7 Ultimate 64-bit
|
Hmm, well luckily we're going to remove Ruby from the install process entirely, so I won't stress about that. The Git, npm, and Bower parts working are the most critical. |
I am using Ubuntu 14.04 LTS in releasing my game but I also have this error. I am also using nodejs.. Can you help me to solve this? |
@jgamao Which error are you getting? And is it with the current CLI or this test version? |
@fhassan2014 Ah, sorry about that, there was a line of debugging code I left uncommented that forces an error to happen. If you have time, could you try testing it again? I'd appreciate it :)
|
@fhassan2014 The template project uses Bundler to install the right version of Sass for you. Run The next version of the CLI won't require Ruby or Bundler, thankfully :) |
@gakimball here I tested again. looks fine your test build: |
@fhassan2014 Ah that's fantastic :) Thanks again for trying it out. |
@fhassan2014 You can just run
|
Hi @gakimball getting these errors while watch command. Any suggestion would be appreciated. Need to test one project to see how Foundation for apps works. Thanks. |
@fhassan2014 Try just running The |
@gakimball Just as curiosity, what are those three frameworks? Foundation for Apps, Foundation for Sites, and ...? |
@gakimball Oh ok, yeah I new about Ink and the rebranding to Foundation for Emails, but didn't realize there was a need for a CLI for that framework. I thought it was just templates you copied and manually injected whatever content you needed into the provided areas. I haven't used F4E yet (which may be clear by my last statement), though that is definitely something I want to get started with as my company emails need some much loving care. |
@gakimball now getting this final page. Not sure it suppose to be like this. and got this error before building project: Before all this I had this Warning Engin: foundation-cli@1.0.4: wanted: <"node":">=0.10.33"> <current: 0.10.32, npm: 1.4.28 I hope you'll find any solution on this. I also tried running gulp and gave me this screen: |
@fhassan2014 The second error |
@gakimball Thanks! it's fine, the only thing lift is browser is looking these missing files. any thoughts. |
@fhassan2014 It looks like the Sass isn't compiling to CSS; that's why there's a "Not Found" error in the console, for |
@gakimball Yes. Any solution. |
@fhassan2014 I just noticed you're running a pre-release build of JRuby, so I think that's the issue. The error is being generated by the Sass executable, meaning it's a Ruby error, not a JavaScript one. You might need to switch to a stable version of JRuby, or file an issue with their team. |
This is a somewhat older issue, so I'm going to close it out. The original issue filed has been fixed, and version 1.1 of the CLI, which we published last month, greatly improves the stability and error-handling of the project creation process. If y'alls have any more issues with the CLI in the future, do let us know :) |
Thanks, Geoff.
|
I see this error when I run
npm install -g foundation-cli
on Windows (Windows 7 64bit):The text was updated successfully, but these errors were encountered: