Closed tarn-jihas closed 6 months ago
I am seeing the same in a brand new vite + typescript project :(
Thanks @andrewdoro then I guess the only problem is the outdated install info in readme.md maybe just remove it and point to novel.sh to avoid confusion?
Hey, I will update the docs on github and novel.sh to fix this confusion. Sorry for the breaking stuff I just wanted to move fast.
Provide environment information
System: OS: Linux 6.5 Ubuntu 23.10 23.10 (Mantic Minotaur) CPU: (8) x64 Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz Memory: 16.45 GB / 31.18 GB Container: Yes Shell: 5.2.15 - /bin/bash Binaries: Node: 20.11.0 - ~/Documents/dev_bin/node/bin/node npm: 10.2.4 - ~/Documents/dev_bin/node/bin/npm
Describe the bug
I'm trying to implement the Editor in my app but i'm getting the following error in Webstorm:
TS2786: Editor cannot be used as a JSX component. Its type typeof Editor is not a valid JSX element type.
Code:
Any feedback would be appreciated, thanks!
Link to reproduction
/
To reproduce
Import Editor from novel in NextJS 14 project and try to add Editor component in JSX.
Additional information
No response