DEV Community

Cover image for How to add next package
Takuzen Toh
Takuzen Toh

Posted on

How to add next package

Once when I installed some npm package, all next-related API(such as link, image, and so on) showed errors saying they cannot be found.

So as to fix them, I had to add them again.

At that time,

yarn add next

this single line fixed the problem!

Hope this would help somebody too:)

Top comments (0)