Next.js Discord

Discord Forum

Local import works with 'next build' but not 'next dev'

Answered
Dwarf Crocodile posted this in #help-forum
Open in Discord
Dwarf CrocodileOP
I'm including a local component library called @togethernet/ui by adding "@togethernet/ui": "link:../ui", to my dependencies in my package.json and it works when running next build but when i run next dev it can't resolve the dependency.
Answered by Dwarf Crocodile
Issue with turbopack using next dev without --turbo fixed the issue
View full answer

1 Reply

Dwarf CrocodileOP
Issue with turbopack using next dev without --turbo fixed the issue
Answer