steven-tey / novel

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

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

Closed ZAJ0711 closed 5 months ago

ZAJ0711 commented 6 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 6 months ago

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

#357