Publish + Swift: Deploy failed

Hey there!

The deploy log reads:

error: referencing static method ‘width’ on ‘Attribute’ requires that ‘HTML.ImageContext’ conform to ‘HTMLDimensionContext’

This indicates a syntax error within the SSG. You may want to take inspiration from our site build debug guide which explains why a site may build locally but not on our systems, and the steps you can take to troubleshoot this.

I would also encourage you to consult with the Publish community regarding the particular error message you’re seeing!