atom-tachyons icon indicating copy to clipboard operation
atom-tachyons copied to clipboard

Duplicate key error

Open chrisparana opened this issue 6 years ago • 1 comments

I'm getting a duplicate key error for "Simple Large Type." Tried uninstalling and reinstalling the package, did not resolve the issue.

Failed to load snippets from '/Users/chrisparana/.atom/packages/atom-tachyons/snippets/components.cson' /Users/chrisparana/.atom/packages/atom-tachyons/snippets/components.cson: Duplicate key 'Simple Large Type'

Failed to load snippets from '/Users/chrisparana/.atom/packages/atom-tachyons/snippets/components-react.cson' /Users/chrisparana/.atom/packages/atom-tachyons/snippets/components-react.cson: Duplicate key 'Simple Large Type'

chrisparana avatar May 09 '18 22:05 chrisparana

It's right here: https://github.com/calweb/atom-tachyons/blob/master/snippets/components-react.cson#L476-L502

@chrisparana or @calweb can you remove the duplicate key, and/or do some Package Updates (#1) to fix this issue.

Looks like there are ~1k users of this plugin and that error at launch of atom is fun to deal with.

rickychilcott avatar Sep 27 '18 16:09 rickychilcott