前提・実現したいこと
いつもお世話になっています。
firebase を用いてウェブサイトを作りたいと思っており、
firebasetools をダウンロードして起動したのですが数秒後にソフトが終了してしまいます。
↓
windowsのコマンドプロントでできるのではないかと思ったので必要なパッケージをインストールして使おうとしました。(使おうとするとエラーが出てしまう)
ここで皆様にお聞きしたいことがあります。
1点目
firebaseToolsを公式からダウンロードしたのにソフトが終了してしまうのはどうしてなのでしょうか。
2点目
コマンドプロントでやること自体が間違っていますか?
ご教授いただけると幸いです。
発生している問題
コマンドプロントで発生したエラーメッセージを追記させていただきます。
Waiting for authentication... Error: An unexpected error has occurred. Having trouble? Try again or contact support with contents of firebase-debug.log
デバッグログ
ご指摘いただきましたのでデバッグログ追記させていただきます。認証画面のリンクが提示されると同時にエラーが出てしまいます。 [debug] [2019-11-23T02:21:05.875Z] Command: C:\Program Files\nodejs\node.exe C:\Users\名前\AppData\Roaming\npm\node_modules\firebase-tools\lib\bin\firebase.js login [debug] [2019-11-23T02:21:05.876Z] CLI Version: 7.7.0 [debug] [2019-11-23T02:21:05.876Z] Platform: win32 [debug] [2019-11-23T02:21:05.876Z] Node Version: v12.13.0 [debug] [2019-11-23T02:21:05.878Z] Time: Sat Nov 23 2019 11:21:05 GMT+0900 (GMT+09:00) [debug] [2019-11-23T02:21:05.879Z] ---------------------------------------------------------------------- [debug] [2019-11-23T02:21:05.879Z] [info] i Firebase optionally collects CLI usage and error reporting information to help improve our products. Data is collected in accordance with Google's privacy policy (https://policies.google.com/privacy) and is not used to identify you. [info] i To change your data collection preference at any time, run `firebase logout` and log in again. [info] [info] Visit this URL on this device to log in: [info] https://accounts.google.com/o/oauth2====認証画面のリンク======== [info] [info] Waiting for authentication... [debug] [2019-11-23T02:21:09.168Z] Error: spawn cmd ENOENT at Process.ChildProcess._handle.onexit (internal/child_process.js:264:19) at onErrorNT (internal/child_process.js:456:16) at processTicksAndRejections (internal/process/task_queues.js:80:21) [error] [error] Error: An unexpected error has occurred.
あなたの回答
tips
プレビュー