Skip to content

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

Open
@Ahmadalhomsi

Description

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions