steven-tey / novel

Notion-style WYSIWYG editor with AI-powered autocompletion.
https://novel.sh
Apache License 2.0
12.21k stars 1.02k forks source link

bug: Module '"novel"' declares 'Editor' locally, but it is not exported. #327

Open chk7964 opened 5 months ago

chk7964 commented 5 months ago

Provide environment information

System: OS: Linux 6.2 Ubuntu 20.04.6 LTS (Focal Fossa) CPU: (2) x64 AMD EPYC 7763 64-Core Processor Memory: 4.20 GB / 7.74 GB Container: Yes Shell: 5.0.17 - /bin/bash Binaries: Node: 20.11.0 - ~/nvm/current/bin/node Yarn: 1.22.19 - /usr/bin/yarn npm: 10.2.4 - ~/nvm/current/bin/npm pnpm: 8.15.1 - ~/nvm/current/bin/pnpm

Describe the bug

Module '"novel"' declares 'Editor' locally, but it is not exported.

Link to reproduction

any

To reproduce

After installation packages

Additional information

No response

yeasin2002 commented 5 months ago

I am also facing the same problem.

amang06 commented 5 months ago

Same issue

UPocek commented 5 months ago

Same here

amang06 commented 5 months ago

The latest novel version does not support Editor. You can downgrade to v1 if you still want to use Editor or refer this to setup novel v2 correctly.

This thread can be closed

yeasin2002 commented 5 months ago

@amang06 great but they should change the documentation from Novel Example

UPocek commented 5 months ago

Thank you for the informations, is their any good v1 documentation?

amang06 commented 5 months ago

@UPocek I don't think there is. Follow this video v1 setup is pretty straightforward. You can also refer to the project in the description if you want to save time

chk7964 commented 5 months ago

@UPocek I don't think there is. Follow this video v1 setup is pretty straightforward. You can also refer to the project in the description if you want to save time

That work but latest version not work

yeasin2002 commented 5 months ago

@chk7964 actually they updated their version, so your old setup will not work there

Now you need to follow this style for Novel Editor

chk7964 commented 5 months ago

@UPocek I don't think there is. Follow this video v1 setup is pretty straightforward. You can also refer to the project in the description if you want to save time

Can you provide demo repository.

kkcoms commented 5 months ago

same issue here

prathamesh-dukare commented 4 months ago

@steven-tey Please fix the docs for beginners, they are not at all friendly and useful

abhinavakhil commented 4 weeks ago

Any update on how to fix this ?