You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
file:///project/node_modules/.pnpm/@[email protected]/node_modules/@adaptive-web/adaptive-ui/dist/esm/bin/aui.js:155
const properties = style.tokens.reduce((prev, current) => {
^
TypeError: Cannot read properties of undefined (reading 'reduce')
at file:///project/node_modules/.pnpm/@[email protected]/node_modules/@adaptive-web/adaptive-ui/dist/esm/bin/aui.js:155:45
at Array.map (<anonymous>)
at jsonToAUIStyleSheet (file:///project/node_modules/.pnpm/@[email protected]/node_modules/@adaptive-web/adaptive-ui/dist/esm/bin/aui.js:151:31)
at Command.<anonymous> (file:///project/node_modules/.pnpm/@[email protected]/node_modules/@adaptive-web/adaptive-ui/dist/esm/bin/aui.js:59:19)
Node.js v20.10.0
When running AUI figma compiler against an anatomy where a style rule does not contain a 'tokens' property, this error is thrown. This is a valid case, so the fix is the just to check for style.tokens prior to reducing it.
The text was updated successfully, but these errors were encountered:
When running AUI figma compiler against an anatomy where a style rule does not contain a 'tokens' property, this error is thrown. This is a valid case, so the fix is the just to check for
style.tokens
prior to reducing it.The text was updated successfully, but these errors were encountered: