ターミナルよりnpx expo loginするとエラーが発生

実現したいこと

昨日から突然発生するようになり海外サイト等で調べているのですが行き詰まりました。
ターミナルからExpoにログインできない状態なので作成しているアプリを表示する事もできない状態です。
通常通りに開発できる状態に戻したいです。

発生している問題・分からないこと

ターミナルより'npx expo login'や'npx expo start'をするとExpoのログインを聞かれますが、
間違いなく正しいユーザー名とパスワードを入力しても下記のようなエラーが発生します。

FetchError: request to https://api.expo.dev/v2/auth/loginAsync failed, reason: unable to verify the first certificate

エラーメッセージ

error

1> npx expo login 2 3Log in to EAS with email or username (exit and run 'npx expo login' for other options) 4√ Email or username ... ユーザー名 5√ Password ... ************* 6FetchError: request to https://api.expo.dev/v2/auth/loginAsync failed, reason: unable to verify the first certificate 7FetchError: request to https://api.expo.dev/v2/auth/loginAsync failed, reason: unable to verify the first certificate 8 at ClientRequest.<anonymous> (C:\Users\kishi\ReactNative\sansei-app-1\node_modules\node-fetch\lib\index.js:1501:11) 9 at ClientRequest.emit (node:events:518:28) 10 at TLSSocket.socketErrorListener (node:_http_client:500:9) 11 at TLSSocket.emit (node:events:518:28) 12 at emitErrorNT (node:internal/streams/destroy:169:8) 13 at emitErrorCloseNT (node:internal/streams/destroy:128:3) 14 at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

該当のソースコード

特になし

試したこと・調べたこと

上記の詳細・結果

・VPNを切る&ルーターの再起動(海外のフォーラムではネットワークトラブルが大半の意見でした。)
→症状変わらず

・テザリングでスマホに繋いで別ネットワークからの接続
→症状変わらず

・ファイアウォール(ESET)の停止
→症状変わらず

・Node.jsとnpmのアップデート
→症状変わらず

・gitからソースをクローンして再作成
→症状変わらず

補足

unable to verify the first certificateという事なので何かの証明書がおかしいのかと思うのですが、皆さんのご教示をいただきたいです。
よろしくお願いいたします。

コメントを投稿

0 コメント