Skip to content
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

Bower init fails either in interactive or non interactive in 1.2.7 in CYGWIN #904

Closed
edmondop opened this issue Oct 6, 2013 · 2 comments

Comments

@edmondop
Copy link

edmondop commented Oct 6, 2013

me@Info06 /cygdrive/c/dev/simple
$ bower init
bower ENOINT        Register requires an interactive shell

Then if I try interactive mode

me@Info06 /cygdrive/c/dev/simple
$ bower init --config.interactive
[?] name: (simpe)
C:\Users\porcu.GOTTEXBROKERS\AppData\Roaming\npm\node_modules\bower\node_modules\tmp\lib\tmp.js:261
  throw err;
        ^
Error: read ENOTCONN
    at errnoException (net.js:878:11)
    at Socket._read (net.js:389:21)
    at Socket.Readable.read (_stream_readable.js:294:10)
    at Socket.read (net.js:291:43)
    at new Socket (net.js:185:10)
    at process.stdin (node.js:660:19)
    at Object.Interface.createInterface (C:\Users\porcu.GOTTEXBROKERS\AppData\Roaming\npm\node_modules\bower\node_modules\inquirer\lib\utils\readline.js:31:43)
    at Object.inquirer.prompt (C:\Users\porcu.GOTTEXBROKERS\AppData\Roaming\npm\node_modules\bower\node_modules\inquirer\lib\inquirer.js:50:40)
    at StandardRenderer.prompt (C:\Users\porcu.GOTTEXBROKERS\AppData\Roaming\npm\node_modules\bower\lib\renderers\StandardRenderer.js:109:14)
    at Logger.updateNotifier.packageName (C:\Users\porcu.GOTTEXBROKERS\AppData\Roaming\npm\node_modules\bower\bin\bower:120:14)
@satazor
Copy link
Member

satazor commented Oct 6, 2013

This seems to be a compatibility issue with node on cygwin. You can read more about it here: nodejs/node-v0.x-archive#5618
It seems that cygwin issues are low priority and that the nodejs team is accepting patches that resolve the issue.

@satazor satazor closed this as completed Oct 6, 2013
@error500
Copy link

Doesn't wor in mintty 2.0.3 on windows also. I had to run it in cmd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants