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

require syntax is causing issue in nextjs and typescript #356

Open
WaqarAhmad321 opened this issue Mar 21, 2024 · 0 comments
Open

require syntax is causing issue in nextjs and typescript #356

WaqarAhmad321 opened this issue Mar 21, 2024 · 0 comments
Assignees

Comments

@WaqarAhmad321
Copy link

Describe the bug
I am using nextjs 14 and typescipt but having issue that module not found which is because of require syntax.

Steps to reproduce the behavior: I am just importing that SunEditor dynamically in nextjs as mentioned in the docs in github.

Screenshots
image
image

Desktop (please complete the following information):

  • OS: [e.g. Windows]
  • Browser [Chrome]
  • Version [e.g. 22]

Additional context
The getLanguage function is causing this issue because the require syntax is used there.

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

2 participants