Bower: [windows] [mingw] Register requires an interactive shell

Created on 5 Dec 2015  路  4Comments  路  Source: bower/bower

After i remove the previous bower v1.6.8 and reinstall with latest version of bower v1.6.9
i tried to use init bower command, but it failed, and relay this message :

Samsung@Dean MINGW64 ~
$ bower init
bower ENOINT        Register requires an interactive shell

Additional error details:
Note that you can manually force an interactive shell with --config.interactive

can anyone help me?

@sheerun

Most helpful comment

well you don't really have to uninstall/reinstall, you can just use the Win CMD.
do you bower init then switch back to MinW64.
edit found a fix...start git-bash like this
use run command, you can change the shortcut later
cmd.exe /C "C:\Program Files\Git\bin\bash.exe" --login -i

All 4 comments

It's duplicate of #1942. Fow now there's no known solution except using git bash instead of mingw.

I agree with sheerun. The solution is to install GIT bash and avoid using MinTTY and follow the documentation.
Here is the solution:

  1. Uninstall existing GIT bash
  2. Reinstall GIT bash
  3. Set up during installation:
    3a: Select> Use Git form the Windows Command Prompt
    3b: Select> Checkout Windows-style, commit Unix-style line endings
    3c: Select> Use Windows' default console window

well you don't really have to uninstall/reinstall, you can just use the Win CMD.
do you bower init then switch back to MinW64.
edit found a fix...start git-bash like this
use run command, you can change the shortcut later
cmd.exe /C "C:\Program Files\Git\bin\bash.exe" --login -i

installing windows with bash git works good
follows the order, npm install -g bower, bower .... init and its dependencies.

Was this page helpful?
0 / 5 - 0 ratings