Closed CleanGlyph closed 2 years ago
Maybe you means const wiki = new Wikiapi('zh');
instead of 'zn'?
However, even I testing 'zn', I can't reproduce this error. Please provide more information.
My apologies I'm just seeing this now, the English demos also failed I just tried to rewrite the main one that also failed. Code wise, other than this mistake, it's just been copying and pasting verbatim from the examples.
What other information can I provide that would be helpful?
Are you meet the same error shown above?
Sorry, is this issue solved?
Yea I deleted node modules, rebooted, reran npm install and then demos worked @kanasimi
Machine:
OSX Big Sur, node.js: 7.22.0
Code:
Output:
etc:
Only can run the example that pulls the hanzi character from the page every other has this error, or if I try to use English wikipedia or any other input.
(I don't know if this is user error or not)