Closed charlesdarkwind closed 2 years ago
Closing because wrong repo
This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs.
Looking for a help forum? We recommend joining the Amplify Community Discord server *-help
channels or Discussions for those types of questions.
Before opening, please confirm:
JavaScript Framework
React
Amplify APIs
GraphQL API
Amplify Categories
api, hosting
Environment information
Bug appears also on Windows and Mac with same Amplify version
Describe the bug
The project has no backend or schema definition of its own, it uses manual hosting. The types are generated using
amplify codegen
of types from another appsync API usingamplify codegen
:Since we upgraded to this amplify version, the
amplify publish
commands (andamplify push
) give the following error:If we generate an empty file manually then the command succeeds.
mkdir -p amplify/backend/api/appSyncApiName && touch amplify/backend/api/appSyncApiName/schema.graphql
Trying with
7.6.7
was also working.Expected behavior
The
amplify publish --yes
commands runs normally with no errorsReproduction steps
use amplify publish on a minimal project with types generated from another API.
Code Snippet
Log output
aws-exports.js
No response
Manual configuration
No response
Additional configuration
No response
Mobile Device
No response
Mobile Operating System
No response
Mobile Browser
No response
Mobile Browser Version
No response
Additional information and screenshots
No response