You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError [ERR_INVALID_ARG_TYPE]: The "string" argument must be of type string or an instance of Buffer or ArrayBuffer. Received an instance of Array
at Function.byteLength (buffer.js:727:11)
at Object.BinaryParser.fromString (/Users/igyubong/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.8A34E19E-3B95-497D-8274-D0776DF242F3/node_modules/evernote/lib/thrift/protocol/binaryProtocol.js:500:22)
at BinaryProtocol.writeString (/Users/igyubong/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.8A34E19E-3B95-497D-8274-D0776DF242F3/node_modules/evernote/lib/thrift/protocol/binaryProtocol.js:148:30)
at BinaryProtocol.writeType (/Users/igyubong/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.8A34E19E-3B95-497D-8274-D0776DF242F3/node_modules/evernote/lib/thrift/protocol/binaryProtocol.js:168:25)
at new Thrift.Struct.write (/Users/igyubong/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.8A34E19E-3B95-497D-8274-D0776DF242F3/node_modules/evernote/lib/thrift/thrift.js:532:24)
at Thrift.Struct.write (/Users/igyubong/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.8A34E19E-3B95-497D-8274-D0776DF242F3/node_modules/evernote/lib/thrift/thrift.js:530:17)
at Thrift.Method.sendRequest (/Users/igyubong/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.8A34E19E-3B95-497D-8274-D0776DF242F3/node_modules/evernote/lib/thrift/thrift.js:162:15)
at NoteStoreClient.findNotesMetadata (/Users/igyubong/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.8A34E19E-3B95-497D-8274-D0776DF242F3/node_modules/evernote/lib/thrift/gen-js2/NoteStore.js:1584:8)
at /Users/igyubong/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.8A34E19E-3B95-497D-8274-D0776DF242F3/node_modules/evernote/lib/stores.js:106:14
at processTicksAndRejections (internal/process/task_queues.js:97:5) {
code: 'ERR_INVALID_ARG_TYPE'
The text was updated successfully, but these errors were encountered:
Environment
system: mac OS Catalina
node: 12.17.0
npm: 6.14.4
evernote module: 2.0.5
Issue
It seems that example code of README.md not works.
words
of filter are causing type error.In README, words are the array of String ( ['one', 'two', 'three'] ), but the code requires String.
Code
Error
The text was updated successfully, but these errors were encountered: