前提・実現したいこと
LIFFスターターアプリの動作確認。
発生している問題・エラーメッセージ
サーバへのデプロイを実行するとコンソールに以下のようにメッセージが表示されてデプロイができません。
netlify deploy --prod
This folder isn't linked to a site yet
? What would you like to do? (Use arrow keys)
❯ Link this directory to an existing site
- Create & configure a new site
ここでエンターキー
? What would you like to do? Link this directory to an existing site
netlify link will connect this folder to a site on Netlify
? How do you want to link this folder to a site? (Use arrow keys)
❯ Use current git remote origin (https://github.com/line/line-liff-v2-starter)
Search by full or partial site name
Choose from a list of your recently updated sites
Enter a site ID
ここでエンターキー
netlify link will connect this folder to a site on Netlify
? How do you want to link this folder to a site? Use current git remote origin (https://github.com/line/line-liff-v2-starter)
Looking for sites connected to 'https://github.com/line/line-liff-v2-starter'...
No Matching Site Found
No site found with the remote https://github.com/line/line-liff-v2-starter.
Double check you are in the correct working directory and a remote origin repo is configured.
Run git remote -v to see a list of your git remotes.
該当のソースコード
#LIFFスターターアプリを試してみる に記載されているリポジトリからcloneして何も修正していない状態。
試したこと
Home > ドキュメント > LINE Front-end Framework > LIFFスターターアプリを試してみる
#LIFFスターターアプリを試してみる
https://developers.line.biz/ja/docs/liff/trying-liff-app/#how-to-start-liff-starter-app
この手順に従って進めていったところ、「サーバーへのデプロイ」のところでつまづきました。
補足情報(FW/ツールのバージョンなど)
netlifyへのログインは成功しているようです。
% netlify login
Already logged in via netlify config on your machine
Run netlify status for account details