Skip to content

Cannot read property 'name' of undefined when amplify publish #12495

@xalepo4

Description

@xalepo4

How did you install the Amplify CLI?

npm

If applicable, what version of Node.js are you using?

16.15.0

Amplify CLI Version

11.0.5

What operating system are you using?

Ubuntu 22.04

Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.

No

Describe the bug

When run amplify publish after a long time appears the error Cannot read property 'name' of undefined.

Expected behavior

Publish the application to development/production site.

Reproduction steps

  1. Run amplify publish
  2. Wait for frontend compilation (Angular).
  3. After a long time appears the error: Cannot read property 'name' of undefined.

Project Identifier

94fea9fa9c2ef410fc180035881a9e8d

Log output

# Put your logs below this line


Additional information

No response

Before submitting, please confirm:

  • I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
  • I have removed any sensitive information from my code snippets and submission.

Metadata

Metadata

Assignees

Labels

hostingIssues tied to hosting categoryinvestigatingThis issue is being investigatedpending-triageIssue is pending triage

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions