wutali / nextjs-netlify-blog-template

Next.js blogging template for Netlify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot redefine existing key 'plugins.package'.

twigs67 opened this issue · comments

Hello,

I'm playing around with this package and I started getting the following error Cannot redefine existing key 'plugins.package'..

Build will only work now if I remove all [[plugins]] from netlify.toml. Do you know what might be causing this?

I also added plugins via the Netlify dashboard, so I'm guessing they're initialized in two places now.

Also, when I updated the site keywords, I started getting a type error. The not so elegant fix was to change export default config as Config; to export default config as unknown as Config; in src/lib/config.ts. It was due to the keywords being added as an array instead keyword: <value>.