Skip to content

Error when trying to run, Can not edit without error #34

@Joshwen7947

Description

@Joshwen7947

When I run yarn start at the beginning it throws this error, can't understand why

/Users/josh/Desktop/UI_testing/src/Home.tsx
TypeScript error in /Users/josh/Desktop/UI_testing/src/Home.tsx(637,18):
Object is of type 'unknown'.  TS2571

    635 |                       }
    636 |               } catch (error) {
  > 637 |                       let message = error.msg || 'Minting failed! Please try again!';
        |                                     ^
    638 |                       if (!error.msg) {
    639 |                               if (!error.message) {
    640 |                                       message = 'Transaction Timeout! Please try again.';

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions