0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Remix CloudFlareのテンプレートを使ってプロジェクトファイルを作るときに指定するアカウントが意図するものと違う

Posted at

概要

npm create cloudflare@latest my-remix-app -- --framework=remixのコマンドを実行中に今すぐデプロイを選択すると「╰ Which account do you want to use?」と表示されアカウントの選択を求められる事がある。
複数のアカウントを持っていると意図しないものが出る可能性がある。これを回避する方法を簡単にまとめる。

方法

  1. 一旦npm create cloudflare@latest my-remix-app -- --framework=remixのコマンドを停止する。

  2. 下記を実行して一旦ログアウトする。

    wrangler logout
    
  3. 下記を実行してログインする。

    wrangler login
    
  4. カレントディレクトリの中途半端にできたプロジェクトファイルを削除する。

    rm -rf my-remix-app
    
  5. 再度npm create cloudflare@latest my-remix-app -- --framework=remixを実行する。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?