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

Failed to compile on NextJs & Typescript #166

Open
rishabh1403 opened this issue Nov 17, 2023 · 0 comments
Open

Failed to compile on NextJs & Typescript #166

rishabh1403 opened this issue Nov 17, 2023 · 0 comments

Comments

@rishabh1403
Copy link

Describe the bug
Currently working with library in a Next.JS project and the library works as expected. However, when I try to build the project, the build process fails with TypeScript errors. I have verified by disabling the TypeScript check in Next config and the build passes correctly.

To Reproduce
Imported Globe with

const Globe = dynamic(
  () => import('react-globe.gl').then((mod) => mod.default),
  {
    ssr: false,
  }
)

and ran next build

Expected behavior
Build should pass successfully.

Screenshots
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant