0

現在、 firebaseを使用して Web アプリを作成するためのチュートリアルfirebase loginに従っていますが、を使用してログインできません。私はその時点までの手順に従いました。firebase versionと表示3.1.0されているので、正しくインストールされています。これを Windows 10 で Powershell (cmd で実行した場合と同じ結果) で実行しています。どんな助けでも大歓迎です、ありがとう!

ログインしようとしたときの出力は次のとおりです。

PS C:\Users\Tyler> firebase login --debug
----------------------------------------------------------------------
Command:      C:\Program Files\nodejs\node.exe C:\Users\Tyler\AppData\Roaming\npm\node_modules\firebase-tools\bin\firebase login --debug
CLI Version:  3.1.0
Platform:     win32
Node Version: v7.1.0
Time:         Fri Nov 18 2016 18:05:11 GMT-0800 (Pacific Standard Time)
----------------------------------------------------------------------

Error: write EINVAL
    at exports._errnoException (util.js:1022:11)
    at WriteStream.Socket._writeGeneric (net.js:715:26)
    at WriteStream.Socket._write (net.js:734:8)
    at doWrite (_stream_writable.js:334:12)
    at writeOrBuffer (_stream_writable.js:320:5)
    at WriteStream.Writable.write (_stream_writable.js:247:11)
    at WriteStream.Socket.write (net.js:661:40)
    at MuteStream.ondata (stream.js:31:26)
    at emitOne (events.js:96:13)
    at MuteStream.emit (events.js:188:7)

Error: An unexpected error has occurred.
Error: This socket is closed
    at WriteStream.Socket._writeGeneric (net.js:683:19)
    at WriteStream.Socket._write (net.js:734:8)
    at doWrite (_stream_writable.js:334:12)
    at writeOrBuffer (_stream_writable.js:320:5)
    at WriteStream.Writable.write (_stream_writable.js:247:11)
    at WriteStream.Socket.write (net.js:661:40)
    at Console.log (console.js:43:16)
    at module.exports.UI.onForceClose (C:\Users\Tyler\AppData\Roaming\npm\node_modules\firebase-tools\node_modules\inquirer\lib\ui\baseUI.js:35:11)
    at emitOne (events.js:101:20)
    at process.emit (events.js:188:7)

Error: An unexpected error has occurred.
Error: This socket is closed
    at WriteStream.Socket._writeGeneric (net.js:683:19)
    at WriteStream.Socket._write (net.js:734:8)
    at doWrite (_stream_writable.js:334:12)
    at writeOrBuffer (_stream_writable.js:320:5)
    at WriteStream.Writable.write (_stream_writable.js:247:11)
    at WriteStream.Socket.write (net.js:661:40)
    at Console.log (console.js:43:16)
    at process.<anonymous> (C:\Users\Tyler\AppData\Roaming\npm\node_modules\firebase-tools\bin\firebase:76:17)
    at emitOne (events.js:101:20)
    at process.emit (events.js:188:7)

Error: An unexpected error has occurred.

また、 --no-localhost オプションを使用してみましたが、成功しませんでした:

PS C:\Users\Tyler> firebase login --no-localhost --debug
----------------------------------------------------------------------
Command:      C:\Program Files\nodejs\node.exe C:\Users\Tyler\AppData\Roaming\npm\node_modules\firebase-tools\bin\firebase login --no-localhost --debug
CLI Version:  3.1.0
Platform:     win32
Node Version: v7.1.0
Time:         Fri Nov 18 2016 18:08:04 GMT-0800 (Pacific Standard Time)
----------------------------------------------------------------------

Error: write EINVAL
    at exports._errnoException (util.js:1022:11)
    at WriteStream.Socket._writeGeneric (net.js:715:26)
    at WriteStream.Socket._write (net.js:734:8)
    at doWrite (_stream_writable.js:334:12)
    at writeOrBuffer (_stream_writable.js:320:5)
    at WriteStream.Writable.write (_stream_writable.js:247:11)
    at WriteStream.Socket.write (net.js:661:40)
    at MuteStream.ondata (stream.js:31:26)
    at emitOne (events.js:96:13)
    at MuteStream.emit (events.js:188:7)

Error: An unexpected error has occurred.
Error: This socket is closed
    at WriteStream.Socket._writeGeneric (net.js:683:19)
    at WriteStream.Socket._write (net.js:734:8)
    at doWrite (_stream_writable.js:334:12)
    at writeOrBuffer (_stream_writable.js:320:5)
    at WriteStream.Writable.write (_stream_writable.js:247:11)
    at WriteStream.Socket.write (net.js:661:40)
    at Console.log (console.js:43:16)
    at process.<anonymous> (C:\Users\Tyler\AppData\Roaming\npm\node_modules\firebase-tools\bin\firebase:76:17)
    at emitOne (events.js:101:20)
    at process.emit (events.js:188:7)

Error: An unexpected error has occurred.
Error: This socket is closed
    at WriteStream.Socket._writeGeneric (net.js:683:19)
    at WriteStream.Socket._write (net.js:734:8)
    at doWrite (_stream_writable.js:334:12)
    at writeOrBuffer (_stream_writable.js:320:5)
    at WriteStream.Writable.write (_stream_writable.js:247:11)
    at WriteStream.Socket.write (net.js:661:40)
    at Console.log (console.js:43:16)
    at module.exports.UI.onForceClose (C:\Users\Tyler\AppData\Roaming\npm\node_modules\firebase-tools\node_modules\inquirer\lib\ui\baseUI.js:35:11)
    at emitNone (events.js:86:13)
    at Interface.emit (events.js:185:7)

Error: An unexpected error has occurred.
4

1 に答える 1