steven-tey / novel

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

bug: yarn novel can't find novel/extensions module #371

Closed ZAJ0711 closed 7 months ago

ZAJ0711 commented 8 months ago

Provide environment information

react

Describe the bug

when yarn add novel can't find novel/extensions module import { TiptapImage, TiptapLink, UpdatedImage, TaskList, TaskItem, HorizontalRule, StarterKit, Placeholder, } from "novel/extensions"; whitch can't import

Link to reproduction

none

To reproduce

none

Additional information

No response

alexanderbnelson commented 8 months ago

This has been mentioned before. I think you need to add "moduleResolution": "bundler" to you tsconfig.json compilerOptions

#357