boldo
boldo copied to clipboard
Error on npm run dev
Tried to run with this figma file, but got the error below.
Does the file has to follow specific parameters for it to work? Should I have used the prototype link?
[0] (node:20403) UnhandledPromiseRejectionWarning: TypeError: Cannot destructure property `r` of 'undefined' or 'null'.
[0] at parseFill (/Users/dfosco/workspace/_personal/boldo/boldo/scripts/parse-figma.js:114:38)
[0] at parseNode (/Users/dfosco/workspace/_personal/boldo/boldo/scripts/parse-figma.js:99:22)
[0] at walker (/Users/dfosco/workspace/_personal/boldo/boldo/scripts/parse-figma.js:50:27)
[0] at walker (/Users/dfosco/workspace/_personal/boldo/boldo/scripts/parse-figma.js:72:7)
[0] at parseFigma (/Users/dfosco/workspace/_personal/boldo/boldo/scripts/parse-figma.js:14:3)
[0] at client.file.then (/Users/dfosco/workspace/_personal/boldo/boldo/scripts/watch-figma.js:38:7)
[0] at processTicksAndRejections (internal/process/task_queues.js:86:5)
[0] (node:20403) UnhandledPromiseRejectionWarning: Unhandled promise rejection. 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(). (rejection id: 84)
for it is showing the same error
Tried to run with this figma file, but got the error below.
Does the file has to follow specific parameters for it to work? Should I have used the prototype link?
[0] (node:20403) UnhandledPromiseRejectionWarning: TypeError: Cannot destructure property `r` of 'undefined' or 'null'. [0] at parseFill (/Users/dfosco/workspace/_personal/boldo/boldo/scripts/parse-figma.js:114:38) [0] at parseNode (/Users/dfosco/workspace/_personal/boldo/boldo/scripts/parse-figma.js:99:22) [0] at walker (/Users/dfosco/workspace/_personal/boldo/boldo/scripts/parse-figma.js:50:27) [0] at walker (/Users/dfosco/workspace/_personal/boldo/boldo/scripts/parse-figma.js:72:7) [0] at parseFigma (/Users/dfosco/workspace/_personal/boldo/boldo/scripts/parse-figma.js:14:3) [0] at client.file.then (/Users/dfosco/workspace/_personal/boldo/boldo/scripts/watch-figma.js:38:7) [0] at processTicksAndRejections (internal/process/task_queues.js:86:5) [0] (node:20403) UnhandledPromiseRejectionWarning: Unhandled promise rejection. 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(). (rejection id: 84)
https://www.figma.com/file/Yfqqd1bjeTJf2iHbg0SQAo/Untitled?node-id=2%3A8
your template should look like in that format