Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is this tool still usable? #2

Open
zhengyuan-ehps opened this issue Jul 8, 2024 · 1 comment
Open

is this tool still usable? #2

zhengyuan-ehps opened this issue Jul 8, 2024 · 1 comment

Comments

@zhengyuan-ehps
Copy link

zhengyuan-ehps commented Jul 8, 2024

Hey,

I was using the latest version of this project to automate the plugin publish but failed to make it due to the authorized response from figma api by following the given docs to setup the env vars etc.

so I just want to quickly checkin if this project still valid for the latest figma plugin publish workflow? if so can I get a latest document to follow?

Here is the current issue im encountering while running figcd auth:

yarn figcd auth                                                         [07/8/24 | 11:47:46]
yarn run v1.22.17
Please enter the email address of your Figma account: xxxx
Please enter your Figma password: xxxx

//....

SMS sent to number ending in (1077): please enter the Authentication code: 6371002

/Users/zheng.yuan/workspace/vega-figma/node_modules/figcd/src/auth-helper.js:145
        const cookiesReceived = loginResponse.headers.get('set-cookie').split('; ');
                                                                       ^

TypeError: Cannot read properties of null (reading 'split')
    at Command.authenticate (/Users/zheng.yuan/workspace/vega-figma/node_modules/figcd/src/auth-helper.js:145:72)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Command.parseAsync (/Users/zheng.yuan/workspace/vega-figma/node_modules/figcd/node_modules/commander/lib/command.js:936:5)
    at async main (/Users/zheng.yuan/workspace/vega-figma/node_modules/figcd/bin/cli.js:135:9)

Node.js v20.10.0

Thanks

@zhengyuan-ehps zhengyuan-ehps changed the title is this project still usable? is this tool still usable? Jul 8, 2024
macintoshhelper added a commit to macintoshhelper/parrot-figcd that referenced this issue Jul 10, 2024
@macintoshhelper
Copy link
Contributor

Hi, this issue should be resolved now. Can you test with the latest version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants