Skip to content
This repository has been archived by the owner on Aug 2, 2018. It is now read-only.

Error: Command failed: Username for 'https://github.com': #397

Open
dy opened this issue Nov 25, 2014 · 5 comments
Open

Error: Command failed: Username for 'https://github.com': #397

dy opened this issue Nov 25, 2014 · 5 comments

Comments

@dy
Copy link

dy commented Nov 25, 2014

I’m trying to duo index.css > bundle.css, then it shows:

     building : index.css
        error : Error: Command failed: Username for 'https://github.com':
fatal: could not read Username for 'https://github.com': No such file or directory

    at error (c:\Users\dmitry\AppData\Roaming\npm\node_modules\duo\node_modules\duo-package\node_modules\gh-resolve\index.js:177:10)
    at c:\Users\dmitry\AppData\Roaming\npm\node_modules\duo\node_modules\duo-package\node_modules\gh-resolve\index.js:69:37
    at ChildProcess.exithandler (child_process.js:641:7)
    at ChildProcess.EventEmitter.emit (events.js:98:17)
    at maybeClose (child_process.js:743:16)
    at Socket.<anonymous> (child_process.js:956:11)
    at Socket.EventEmitter.emit (events.js:95:17)
    at Pipe.close (net.js:466:12)

I use windows 7.

I have a _netrc set up with github token in %HOME% dir. How else can I help the situation?

@matthewmueller
Copy link
Contributor

Hi @dfcreative

Could you provide the version of Duo you're using? Also could you post the output of:

DEBUG=duo* duo index.css > bundle.css

@dy
Copy link
Author

dy commented Nov 26, 2014

Duo 0.8.10.

DEBUG=duo* duo index.css > bundle.css
duo-package could not read auth details from ~/.netrc +0ms

   building : index.css  duo running: index.css +274ms
duo using plugin: component_compat +1ms
duo using plugin: stoj +0ms
duo parsing: index.css +4ms
duo index.css deps: ["kennetthormandy/normalize-opentype.css","necolas/normalize.css"] +11ms
duo-package kennetthormandy-normalize-opentype.css@*: resolving +15ms
duo-package necolas-normalize.css@*: resolving +17ms
duo-package [email protected]: resolved +3s
duo-package [email protected]: already exists +7ms

      error : Error: Command failed: Username for 'https://github.com':
...

@dy
Copy link
Author

dy commented Nov 26, 2014

It looks like it’s expecting me to type login / password (though no hints about it), and if I type anything, I get the next error:

error : Error: Command failed: Username for 'https://github.com':
Password for 'https://<token>@github.com':
error: The requested URL returned error: 403 while accessing ttps://github.com/kennetthormandy/normalize-opentype.css/i
nfo/refs
fatal: HTTP request failed

@dominicbarnes
Copy link
Contributor

I know it's a little late to ask, but what does index.css look like?

@dy
Copy link
Author

dy commented Mar 9, 2015

@dominicbarnes some entry index.css with inner @import directives, I guess.

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

No branches or pull requests

3 participants