質問編集履歴

5

追記

2020/08/09 07:19

投稿

qazplm8888
qazplm8888

スコア2

test CHANGED
File without changes
test CHANGED
@@ -127,3 +127,57 @@
127
127
  Please make sure you have the correct access rights
128
128
 
129
129
  and the repository exists.
130
+
131
+
132
+
133
+ 追記
134
+
135
+ やったらまたエラーが出てしまいました。。
136
+
137
+ Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
138
+
139
+ Warning: Permanently added 'heroku.com,50.19.85.132' (RSA) to the list of known hosts.
140
+
141
+ Enumerating objects: 6, done.
142
+
143
+ Counting objects: 100% (6/6), done.
144
+
145
+ Delta compression using up to 8 threads
146
+
147
+ Compressing objects: 100% (3/3), done.
148
+
149
+ Writing objects: 100% (6/6), 1.16 KiB | 39.00 KiB/s, done.
150
+
151
+ Total 6 (delta 0), reused 0 (delta 0), pack-reused 0
152
+
153
+ remote: Compressing source files... done.
154
+
155
+ remote: Building source:
156
+
157
+ remote:
158
+
159
+ remote: -----> Python app detected
160
+
161
+ remote: ! Requested runtime (python-3.8) is not available for this stack (heroku-18).
162
+
163
+ remote: ! Aborting. More info: https://devcenter.heroku.com/articles/python-support
164
+
165
+ remote: ! Push rejected, failed to compile Python app.
166
+
167
+ remote:
168
+
169
+ remote: ! Push failed
170
+
171
+ remote: Verifying deploy...
172
+
173
+ remote:
174
+
175
+ remote: ! Push rejected to shomohin.
176
+
177
+ remote:
178
+
179
+ To ssh://heroku.com/shomohin.git
180
+
181
+ ! [remote rejected] master -> master (pre-receive hook declined)
182
+
183
+ error: failed to push some refs to 'ssh://heroku.com/shomohin.git'

4

追記

2020/08/09 07:19

投稿

qazplm8888
qazplm8888

スコア2

test CHANGED
File without changes
test CHANGED
@@ -92,4 +92,38 @@
92
92
 
93
93
  追記
94
94
 
95
- このメルアドレスとユーザー名heroku側設定すればよいのでしょうか?
95
+ 一応設定はして最初に質問したエラーはなくなったのですがこは上手くっているのでしょうか?
96
+
97
+ git commit -am "make it better"
98
+
99
+ [master (root-commit) 460db2b] make it better
100
+
101
+ 4 files changed, 45 insertions(+)
102
+
103
+ create mode 100644 Procfile
104
+
105
+ create mode 100644 main.py
106
+
107
+ create mode 100644 requirements.txt
108
+
109
+ create mode 100644 runtime.txt
110
+
111
+
112
+
113
+ C:\Users\masakazu\Desktop\line-bot-test>git push heroku master
114
+
115
+ The authenticity of host 'heroku.com (50.19.85.156)' can't be established.
116
+
117
+ RSA key fingerprint is SHA256:8tF0wX2WquK45aGKs/Bh1dKmBXH08vxUe0VCJJWOA/o.
118
+
119
+ Are you sure you want to continue connecting (yes/no/[fingerprint])?
120
+
121
+ Host key verification failed.
122
+
123
+ fatal: Could not read from remote repository.
124
+
125
+
126
+
127
+ Please make sure you have the correct access rights
128
+
129
+ and the repository exists.

3

追記

2020/08/08 16:50

投稿

qazplm8888
qazplm8888

スコア2

test CHANGED
File without changes
test CHANGED
@@ -87,3 +87,9 @@
87
87
 
88
88
 
89
89
  このような感じで出ます。。
90
+
91
+
92
+
93
+ 追記
94
+
95
+ このメールアドレスとユーザー名はheroku側で設定すればよいのでしょうか?

2

追記

2020/08/08 16:39

投稿

qazplm8888
qazplm8888

スコア2

test CHANGED
File without changes
test CHANGED
@@ -49,3 +49,41 @@
49
49
 
50
50
 
51
51
  fatal:your current branch 'master' dose not have any commits yet
52
+
53
+
54
+
55
+ 追記
56
+
57
+ git commit -am "make it better"
58
+
59
+
60
+
61
+ *** Please tell me who you are.
62
+
63
+
64
+
65
+ Run
66
+
67
+
68
+
69
+ git config --global user.email "you@example.com"
70
+
71
+ git config --global user.name "Your Name"
72
+
73
+
74
+
75
+ to set your account's default identity.
76
+
77
+ Omit --global to set the identity only in this repository.
78
+
79
+
80
+
81
+ fatal: unable to auto-detect email address (got 'masakazu@DESKTOP-D231TSH.(none)')
82
+
83
+
84
+
85
+ C:\Users\masakazu\Desktop\line-bot-test>
86
+
87
+
88
+
89
+ このような感じで出ます。。

1

2020/08/08 16:23

投稿

qazplm8888
qazplm8888

スコア2

test CHANGED
File without changes
test CHANGED
@@ -15,3 +15,37 @@
15
15
  のですが結局このエラーがなくなりません。
16
16
 
17
17
  どうすればよいのでしょうか?
18
+
19
+ 追記
20
+
21
+ git status
22
+
23
+
24
+
25
+ On branch master
26
+
27
+
28
+
29
+ No commits yet
30
+
31
+
32
+
33
+ Changes to be committed:
34
+
35
+ (use ''git rm --cached<file>...''to unstage)
36
+
37
+ new file: Procfile
38
+
39
+ new file: main.py
40
+
41
+ new file: requirements.txt
42
+
43
+ new file: runtime.txt
44
+
45
+
46
+
47
+ git log
48
+
49
+
50
+
51
+ fatal:your current branch 'master' dose not have any commits yet