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

'Flicking' cannot be used as a JSX component. Type error in yarn berry workspace #888

Open
cottons-kr opened this issue Sep 1, 2024 · 0 comments
Assignees
Labels
🔖4.x v4.x~ related issue 🐛Bug Bugs

Comments

@cottons-kr
Copy link

Description

I encountered a type error with egjs/react-flicking when using Yarn Berry with workspaces. This issue does not occur when using pnpm or Yarn Berry without workspaces. I tested this with Next.js 14 App Router on both Linux and Windows.

image

Steps to check or reproduce

  1. Install Yarn using npm or Corepack.
  2. Clone this repository: next-flicking-test-yarn.
  3. Run yarn to install the packages.
  4. Change the TypeScript version to 5.5.4-sdk if your code editor shows multiple type errors.
  5. Open packages/test/app/page.tsx and check for the type error.
@malangfox malangfox self-assigned this Sep 4, 2024
@malangfox malangfox added 🐛Bug Bugs 🔖4.x v4.x~ related issue labels Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔖4.x v4.x~ related issue 🐛Bug Bugs
Projects
None yet
Development

No branches or pull requests

2 participants