Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot redefine existing key 'plugins.package'. #9

Open
twigs67 opened this issue Sep 11, 2020 · 0 comments
Open

Cannot redefine existing key 'plugins.package'. #9

twigs67 opened this issue Sep 11, 2020 · 0 comments

Comments

@twigs67
Copy link

twigs67 commented Sep 11, 2020

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>.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant