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
On version 0.2.0-alpha.3 When parsing this file there's an error on the parsings for mobile when transforming a line height value:
[15:02:38.264 - Event] Setting up mobile globals
[15:02:38.265 - Event] Token Transform
[token-transformer] transforming tokens from input: ./tokens-studio.json
[token-transformer] using sets: []
[token-transformer] using excludes: []
[token-transformer] using options: { expandTypography: true, expandShadow: true, expandComposition: false, expandBorder: false, preserveRawValue: false, resolveReferences: true }
[token-transformer] writing tokens to output: /var/folders/wj/tz_vd6ns30jg2d34fy3_yztm0000gn/T/tmp-44946-HhEU3AsyNNAM
[token-transformer] done transforming
✅ Done using token-transform
[15:02:38.452 - Event] Style Dictionary
compose
node:internal/process/promises:279
triggerUncaughtException(err, true /* fromPromise */);
^
[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "Invalid Number: 'lineHeights1: auto' is not a valid number, cannot transform to 'rem'
".] {
code: 'ERR_UNHANDLED_REJECTION'
}
Most likely, this is happening on the transforms to dp, that are not checking if the values are numeric or not.
The text was updated successfully, but these errors were encountered:
On version
0.2.0-alpha.3
When parsing this file there's an error on the parsings for mobile when transforming a line height value:Most likely, this is happening on the transforms to dp, that are not checking if the values are numeric or not.
The text was updated successfully, but these errors were encountered: