ingrammicro / puzzle-publisher

A Sketch plugin that exports Sketch artboards into clickable HTML file and publishes it on an external site.
GNU General Public License v3.0
174 stars 19 forks source link

Bug: Export doesn't work, undefined function absoluteRect() #91

Open kaiiiib opened 1 year ago

kaiiiib commented 1 year ago

Hi,

using Puzzle Publisher recent version 17.9.1 with Sketch 97 unfortunately the export does not work any more. With debugging enabled this is what the log says:

EXPORTING... 12:46.7 exportArtboards: running... 12:46.7 The file “previews” doesn’t exist. 12:46.7 The file “full” doesn’t exist. 12:46.7 PZPage.collectData() starting... name=Datenaustausch-Krankenhaus 12:46.7 PZPage.collectData() collecting... 12:46.7 PZArtboard.create name=Antrag/Tab Antragsdaten/Medium (Default) 12:46.7 [ ERROR ] TypeError: this.nlayer.absoluteRect is not a function. (In 'this.nlayer.absoluteRect()', 'this.nlayer.absoluteRect' is undefined) 12:46.7 exportArtboards: done! CLOSING DOCUMENT...

fyi -- in this fork @MaxBazarov did fix it already - thanks! 👍 https://github.com/MaxBazarov/puzzle-publisher

MaxBazarov commented 1 year ago

Yep. I fixed it in the fork.