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

Login fails #15

Open
jrk opened this issue Sep 29, 2022 · 1 comment
Open

Login fails #15

jrk opened this issue Sep 29, 2022 · 1 comment

Comments

@jrk
Copy link

jrk commented Sep 29, 2022

As of September 2022, this seems to fail on both Node 14 & 16. The initial login attempt always fails:

$ wf
No /Users/foo/.wfconfig.json detected... starting authentication process...
What is your workflowy login info? This will not be saved, merely used once to authenticate.
prompt: email:  (node:25095) Warning: Accessing non-existent property 'run' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:25095) Warning: Accessing non-existent property 'loadWfConfig' of module exports inside circular dependency
(node:25095) Warning: Accessing non-existent property 'writeWfConfig' of module exports inside circular dependency
(node:25095) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
[email protected]
prompt: password:
Failed to get sessionid. Check your username/password.
returning config.sessionid undefined

Is this expected? Has this implementation rotted with respect to Workflowy itself?

I haven't rummaged through the code, but some of the warnings are potentially concerning as well. Does it expect a very old Node?

@harshaxx
Copy link

harshaxx commented Jul 4, 2023

Yes, the login is not working for me too. However creating a .wsconfig.json file with {"sessionid":" "abcd"} makes the program work after you substitute your session id for abcd.

To get the workflowy session id, you can read the instructions here https://github.com/cjlm/send-to-workflowy which is based on this project.

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