Skip to content

No matching export for import "**"  #2386

@jahnli

Description

@jahnli

⚠️ IMPORTANT ⚠️ Please do not ignore this template. If you do, your issue will be closed immediately.

Describe the bug

/Login.vue:4:9: error: No matching export for import "ManageProps"

image
When I try to export an interface from a TS file, I want to import the interface type in Vue, but it fails, he tells me:The requested module '/src/typings/manage.ts' does not provide an export named 'ManageProps' ,May I ask how I should solve the problem and whether there is a specific solution?
image

Reproduction

Please provide a link to a repo that can reproduce the problem you ran into.

A reproduction is required unless you are absolutely sure that the the problem is obvious and the information you provided is enough for us to understand what the problem is. If a report has only vague description (e.g. just a generic error message) and has no reproduction, it will receive "need reproduction" label. If no reproduction is provided after 3 days, it will be auto-closed.

System Info

  • vite version: 2.0.5
  • Operating System: win10
  • Node version: 14
  • Package manager (npm/yarn/pnpm) and version: yarn

Logs (Optional if provided reproduction)

  1. Run vite or vite build with the --debug flag.
  2. Provide the error log here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions