javascript - 无法在放大托管添加中添加托管 - 找不到应用程序
问题描述
我有点困惑,我能够毫无问题地部署我的代码(开发环境)amplify push
:
Current Environment: dev
| Category | Resource name | Operation | Provider plugin |
| -------- | ---------------------- | --------- | ----------------- |
| Api | littlewishlist | Update | awscloudformation |
| Auth | littlewishlist7d5de4fe | No Change | awscloudformation |
? Are you sure you want to continue? Yes
.......
✔ Generated GraphQL operations successfully and saved at src/graphql
✔ All resources are updated in the cloud
GraphQL endpoint: https://XXXX.amazonaws.com/graphql
GraphQL API KEY: da2-XXX
然后当检查我在本地有哪个 evn 时,它说我有我的开发环境:
(base) hutber@hutber:/var/www/littlewishlist/lwl$ amplify env list
| Environments |
| ------------ |
| *dev |
但是做一个amplify publish
我收到以下内容:
Please add hosting to your project before publishing your project
Command: amplify hosting add
所以我然后运行代码:amplify hosting add
hutber@hutber:/var/www/littlewishlist/lwl$ amplify hosting add
? Select the plugin module to execute Hosting with Amplify Console (Managed hosting with custom domains, Continuous deployment)
App XXXX not found.
NotFoundException: App dc2bpv99poqrq not found.
解决方案
推荐阅读
- c - 为结构内的变量动态分配内存,如 int、double 等
- c# - Xamarin.Forms ImageCell 不显示图像版本 4.7.0.xx
- css - 为什么grid-gap会导致没有百分比的溢出?
- javascript - 第一个 JavaScript 参数是否可能具有默认值?
- python - TypeError:Python Spacy-Stopword NLP 中需要一个整数
- firebase - 使用 Firebase Cloud Function 解析本地 .CSV 文件?
- html - 图像叠加悬停“指针事件:无;” 在 WordPress 中不起作用?
- php - 在句号之后或段落开头转换为大写
- r - 将数据帧转换为动物园时间序列构造,其中 chron 日期时间对象为月/日/年 hr:min:sec (即 01/15/19 00:06:00) 在 r 中?
- c# - 想要将电子邮件作为查询字符串,但是当模型绑定它们时,它会切断字符串