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
Regression: In version 0.1.4, the ember new command is fails on Windows #2677
Comments
awesome thanks |
same here - also fails with Using |
ya its just one of our deps deps, and likely your firewall or something blocking the git only dep. Someone will need to do the leg work of ensuring everything is fixed and upgraded. |
@stefanpenner It's not a firewall or any kind of networking issue - I am getting the same exact error on my Win XP VM (while it's working fine on the host Mac OS). Also, the Windows has working git installation on PATH. Hope this helps resolve this show-stopper... |
A little more info from my Windows XP VM to help troubleshoot:
Let me know if there's anything else I can do to help get to the bottom of this. |
|
@kidGodzilla did you try to run |
someone needs to do the leg work and update the deps. I may have time later this week. |
For those interested in doing the leg work: #2605 (comment) lists the steps that are needed. |
👍 Same issue on Windows 7, ember-cli 0.1.4. Version 0.1.2 works fine. |
First timer making the plunge from EAK to Ember-CLI and ran into this issue on Windows 8.1. Since it wasn't immediately obvious to me, I thought I'd note here that running |
Might be nice to put a note in the Getting Started guide for us poor Windows folk... |
@johnmcdowall better result would be if someone has time to follow these steps #2605 (comment) and solve the problem |
I'll look into this later today |
@raytiley :) |
I'm aiming to cut a release sunday night. |
@stefanpenner I'll do my best to get a pr together tonight if I can fix it in CLI. Haven't looked much at this yet since I'm on my phone. |
@stefanpenner you rang? |
This should fix ember-cli/ember-cli#2677 and ember-cli/ember-cli#2605
I submitted a PR on esnext that according to @rwjblue should remove the npm git installs. |
@vias @johnnyshields what versions of git / npm / bower do you have installed on your machines. Are you using cmd, powershell, or git bash? I can sort of reproduce this but not sure I'm reproducing the same issue. |
git version 1.9.4.msysgit.0 |
@broerse thanks. Can you give your exact console output? When running |
|
|
@broerse curious... what happens when you do npm install in the new ember directory after the failure? |
tested on a windows 7 pc just now and it gave the same error. |
|
Ok last question, can you attatche the package.json that Thanks for all the help... I can't reproduce what your seeing here...so I"m splunking through the npm module trying to figure out where its going wrong |
|
without an error?
|
Yes after |
You don't want to be reminded you can't do things because you are on windows every day ;-) |
the change to package.json is that a ^ is added to |
You can do npm install in the new ember directory after the failure if you first remove the node_modules folder. |
I feel like this might be related. npm/npm#5702 It seems we are hitting some weird caching issue w/ git repositories. from @vais stack trace it looks like the git SHA that was part of the CWD doesn't even exist anymore, maybe due to a rebase or force push? I wonder if this is more brittle on windows for some reason? @broerse could you go into this folder: |
cleared the npm-cache => same error |
wtf... why can't i reproduce :( I gotta go eat dinner... will come back to this later. |
It is 23:30. Last fetched item before the error seems to be |
|
@stefanpenner @rwjblue esnext is updated / released so it should hopefuly fix this issue with the next ember-cli release resugar/resugar#65 Not sure if we can do anything to trap these errors better in ember-cli... One idea might be to configure CI server to disallow git protocol just so we can see these problems in CI? |
@raytiley ya thats a good idea. We can also add a test to walk the deps and confirm no git URLs |
@raytiley wtf indeed - I cannot reproduce this issue anymore on the same machine. Last time before calling it quits I did |
I just did an ember-cli upgrade and everything ran fine for me. I have also generated a few test projects without issue. |
Is anyone still having this issue? Now that resugar/resugar#65 landed I think this could be closed? |
@raytiley - Do we need to update broccoli-esnext and ember-cli-esnext to get the right version? |
No longer errors on Windows 8.1 for me. |
lets assume we are good :) |
@stefanpenner after re-installing ember-cli 0.1.4 on the original machine, I cannot repro this issue. Installed on two machines in the office, |
Tested on Windows 8, using Ember 0.1.4.
I upgraded from version 0.1.2:
npm uninstall -g ember-cli && npm cache clear && npm install -g ember-cli@0.1.4
Then attempted the
ember new
, but it failed consistently with the same error many times:I can reproduce this anytime on my system let me know if I can provide more info.
Reverting to 0.1.2 for now as it works fine in this case.
The text was updated successfully, but these errors were encountered: