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

"createCards" Connection Failed #10

Open
goobert opened this issue Aug 14, 2023 · 0 comments
Open

"createCards" Connection Failed #10

goobert opened this issue Aug 14, 2023 · 0 comments

Comments

@goobert
Copy link

goobert commented Aug 14, 2023

Whenever I try to complete the final step in the instructions by typing "node createCards", I get the following error:

2023-08-14 07_45_03- copy

finished init consumer channel. message received { action: 'addNote', version: 6, params: { note: { deckName: 'Spanish Words #1', modelName: 'Basic (and reversed card) - spanish', fields: [Object], options: [Object], tags: [], audio: [Object] } } } ERROR Error: connect ECONNREFUSED ::1:8765 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1494:16) { errno: -4078, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 8765 }

AnkiConnect works on port 8765, as typing "http://localhost:8765/" into a browser shows the message "AnkiConnect v.6". I can only assume that the script cannot connect to Anki.

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

1 participant