Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"@uppy/core"' has no exported member 'UnknownPlugin' #5054

Closed
2 tasks done
dave-sub360 opened this issue Apr 1, 2024 · 3 comments
Closed
2 tasks done

"@uppy/core"' has no exported member 'UnknownPlugin' #5054

dave-sub360 opened this issue Apr 1, 2024 · 3 comments
Labels

Comments

@dave-sub360
Copy link

Initial checklist

  • I understand this is a bug report and questions should be posted in the Community Forum
  • I searched issues and couldn’t find anything (or linked relevant results below)

Link to runnable example

No response

Steps to reproduce

  1. Build a typescript project with @uppy/react integrated

Expected behavior

Project to build Successfully

Actual behavior

Receive the error

../node_modules/@uppy/react/src/Dashboard.ts:3:15
Type error: Module '"@uppy/core"' has no exported member 'UnknownPlugin'. Did you mean to use 'import UnknownPlugin from "@uppy/core"' instead?

    1 | import { createElement as h, Component } from 'react'
    2 | import PropTypes from 'prop-types'
  > 3 | import type { UnknownPlugin, Uppy } from '@uppy/core'
      |               ^
    4 | import DashboardPlugin from '@uppy/dashboard'
    5 | import type { Body, Meta } from '@uppy/utils/lib/UppyFile'
    6 | import type { DashboardOptions } from '@uppy/dashboard'
  Build process exited due to code 1  
@dave-sub360 dave-sub360 added the Bug label Apr 1, 2024
@Murderlon
Copy link
Member

Hi, can you create a reproducible example? Otherwise this is not actionable.

Works here with latest versions: https://stackblitz.com/edit/vitejs-vite-vehvbq?file=src%2FApp.tsx

@aduh95
Copy link
Member

aduh95 commented Apr 22, 2024

Specifically, we'd need to know which versions of Uppy packages you are using so we can investrigate it.

@Murderlon
Copy link
Member

Closing until we have a reproducible example

@Murderlon Murderlon closed this as not planned Won't fix, can't repro, duplicate, stale Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants