steven-tey / novel

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

feat: Can you create a full guide on integration in NextJS because there is so much error with using your documentation #411

Open SH20RAJ opened 5 months ago

SH20RAJ commented 5 months ago

Describe the feature you'd like to request

feat: Can you create a full guide on integration in NextJS because there is so much error with using your documentation

Describe the solution you'd like to see

1 of 1 error Next.js (14.2.4)

Unhandled Runtime Error TypeError: Cannot read properties of undefined (reading 'call')

Call Stack options.factory file:///Users/shaswatraj/Desktop/shade/article/.next/static/chunks/webpack.js (715:31) Next.js fn file:///Users/shaswatraj/Desktop/shade/article/.next/static/chunks/webpack.js (371:21) React

Additional information

No response

ThiagoMaurat commented 4 months ago

you should add on tsconfig "moduleResolution": "bundler"!!