This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Jeff Barnaby Léonard
Posted Sep 07 - Read on Facebook

Getting strange error on an imported object. "TypeError: undefined is not an object (evaluating 'layer.subLayers')" - The only line of codes in there are :

# This imports all the layers for "A012Before1" into a012before1Layers4
screen1 = Framer.Importer.load "imported/A012Before1"
# Wrap the imported content layers
scroll = ScrollComponent.wrap(screen1.content)

Any idea how I can troubleshoot this?