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

bug: The export Editor was not found in module #484

Open
Ahmadalhomsi opened this issue Feb 2, 2025 · 0 comments
Open

bug: The export Editor was not found in module #484

Ahmadalhomsi opened this issue Feb 2, 2025 · 0 comments

Comments

@Ahmadalhomsi
Copy link

Provide environment information

in package.json:

"dependencies": {
"next": "15.1.6",
"novel": "1.0.2",
"react": "^19.0.0",
"react-dom": "^19.0.0"
}

Describe the bug

I have followed the steps written on
https://novel.sh, but I received the following error in nextjs 15:

Build Error

Next.js (15.1.6) (Turbopack)

Failed to compile

./component/editor.jsx:1:1
Export Editor doesn't exist in target module
> 1 | import { Editor } from "novel";
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  2 |
  3 |
  4 | export default function NovelEditor({ setContent, content, title }) {

The export Editor was not found in module [project]/node_modules/novel/dist/index.js [app-client] (ecmascript) <exports>.
Did you mean to import
useEditor?
All exports of the module are statically known (It doesn't have dynamic exports). So it's known statically that the requested export doesn't exist.

This error occurred during the build process and can only be dismissed by fixing the error.

I believe the documentation for Novel version 1.0.2 has not yet been published.

Link to reproduction

https://novel.sh/

To reproduce

https://novel.sh

Additional information

No response

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