mathieudutour / react-sketchapp-library

14 stars 1 forks source link

No output #2

Open lessthanzero opened 6 years ago

lessthanzero commented 6 years ago

Trying to use plugin and getting errors similar to those in #1

Warning: Accessing createClass via the main React package is deprecated, and will be removed in React v16.0. Use a plain JavaScript class instead. If you're not yet ready to migrate, create-react-class v15.* is available on npm as a temporary, drop-in replacement. For more info see https://fb.me/react-create-class

TypeError: context.document.documentData().layerTextStyles().addSharedStyleWithName_firstInstance is not a function. (In 'context.document.documentData().layerTextStyles().addSharedStyleWithName_firstInstance(name, textStyle)', 'context.document.documentData().layerTextStyles().addSharedStyleWithName_firstInstance' is undefined) line: 29242

mathieudutour commented 6 years ago

you probably need to update the version of react-sketchapp