Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/heroku/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Heroku buidpack的名字超过30个字母?_Heroku - Fatal编程技术网

Heroku buidpack的名字超过30个字母?

Heroku buidpack的名字超过30个字母?,heroku,Heroku,我正在尝试将buildpack部署到heroku,我已将其重命名为不超过30个字母,但我仍然得到: /f/envs/r1/driver1 (master) $ heroku create --stack cedar https://github.com/kc1/hero-bpack-py-phant.git ! Name must start with a letter and can only contain lowercase letters, numbers,

我正在尝试将buildpack部署到heroku,我已将其重命名为不超过30个字母,但我仍然得到:

/f/envs/r1/driver1 (master)
$ heroku create --stack cedar https://github.com/kc1/hero-bpack-py-phant.git          
 !    Name must start with a letter and can only contain lowercase letters, numbers, and dashes.
 !    Name is too long (maximum is 30 characters)

如何修复此问题?

这里的CLI正在确定您的应用程序名为
https://github.com/kc1/hero-bpack-py-phant.git

实际上,您需要做的是:

heroku create --stack cedar --buildpack https://github.com/kc1/hero-bpack-py-phant.git <APPNAMEHERE>
heroku create--stack cedar--buildpackhttps://github.com/kc1/hero-bpack-py-phant.git 注意命令末尾的
--buildpack