ember-cli-windows icon indicating copy to clipboard operation
ember-cli-windows copied to clipboard

Ember windows hangs after Confirm: Do you want to proceed (Y/N): ?

Open tomaszs opened this issue 7 years ago • 8 comments

I have installed ember windows and execute ember windows command on a Windows 7 system from bash executed as an admin.

It shows:

Do you want to proceed (Y/N)? Cursor shows up in the new line after this question.

When i type Y and enter - nothing happens, The same for y and for n.

Cursor just goes into next line and i can type and type and press enter and nothing happens. No errors are displayed

Expected result:

I type y and the process goes further.

tomaszs avatar Oct 17 '17 10:10 tomaszs

I am also having this issue. I am on Windows 10, I get the same result in both admin and non-admin versions of powershell. This result also happens if I try to just use a vanilla cmd command prompt.

ketura avatar Nov 09 '17 05:11 ketura

I am having the same issue on Windows 7.

etarce avatar Dec 13 '17 17:12 etarce

Same here. Windows 7

Energiz0r avatar Feb 02 '18 08:02 Energiz0r

In my case the problem was that I was not running the command in the Windows PowerShell utility. I thought it was enough to launch the cmd utility as an administrator and run the command there, but it was not. Once I used PowerShell everything worked as expected.

etarce avatar Feb 02 '18 16:02 etarce

same problem

ivp-dev avatar Feb 02 '18 19:02 ivp-dev

Same problem

felixrieseberg/ember-cli-windows-addon#16

d8vjork avatar Feb 06 '18 07:02 d8vjork

This might depend on how you installed it.

Solution

If you installed it as a project dependency using npm i ember-cli-windows-addon (with or without --save-dev), remove that using npm un ember-cli-windows-addon.

Then use the following commands (note, there's no -addon):

npm install -g ember-cli-windows
ember-cli-windows

Remember to use an elevated PowerShell. If there was an error, try executing Set-ExecutionPolicy Unrestricted -scope Process first.

ADTC avatar Feb 07 '18 20:02 ADTC

Confirmed, Powershell ember-cli-windows worked, but ember-cli-windows seems to work from an admin cmd shell as well

I was freezing before with the addon (ember windows) under both cmd and powershell with node 6 and 8.

FWIW I dont think I ever actually saw the documentation on these repos, just the bits from stackoverflow and finally the advice in the ember-cli windows section to use the addon.

Should ember-cli's documentation use this global or the addon? If someone found the addon first should it tell them to use ember-cli-windows first?

jhr007 avatar Mar 13 '18 18:03 jhr007