Hello Forum,
I am trying to access different file's variables with the developer console in Figma's macOS app but I keep getting the following error.
const [collection] = await figma.variables.getLocalVariableCollectionsAsync();
Uncaught TypeError: Cannot read properties of undefined (reading 'variables')
at <anonymous>:1:34
(anonymous) @ VM421:1
const localCollections = await figma.variables.getLocalVariableCollectionsAsync();
Uncaught TypeError: Cannot read properties of undefined (reading 'variables')
at <anonymous>:1:38
(anonymous) @ VM425:1
const localVariables = await figma.variables.getLocalVariablesAsync();
Uncaught TypeError: Cannot read properties of undefined (reading 'variables')
at <anonymous>:1:36
(anonymous) @ VM431:1
Thank you for sharing any help and your time.
