Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/373.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 节俭中的错误_Javascript_Evernote - Fatal编程技术网

Javascript 节俭中的错误

Javascript 节俭中的错误,javascript,evernote,Javascript,Evernote,我在运行脚本时遇到此错误。不知道为什么会这样。似乎Evernote的节俭系统中有个漏洞 TypeError:无法读取未定义的属性“length” 在Buffer.write(Buffer.js:733:13) 位于Object.BinaryParser.fromString(/Users/sam/Documents/evernote/node_modules/evernote/lib/thrift/protocol/binaryProtocol.js:502:12) 在BinaryProtoco

我在运行脚本时遇到此错误。不知道为什么会这样。似乎Evernote的节俭系统中有个漏洞

TypeError:无法读取未定义的属性“length”
在Buffer.write(Buffer.js:733:13)
位于Object.BinaryParser.fromString(/Users/sam/Documents/evernote/node_modules/evernote/lib/thrift/protocol/binaryProtocol.js:502:12)
在BinaryProtocol.writeString(/Users/sam/Documents/evernote/node_modules/evernote/lib/thrift/protocol/BinaryProtocol.js:148:30)
在BinaryProtocol.writeType(/Users/sam/Documents/evernote/node_modules/evernote/lib/thrift/protocol/BinaryProtocol.js:168:25)
在new Thrift.List.write(/Users/sam/Documents/evernote/node_modules/evernote/lib/Thrift/Thrift.js:275:20)
在new Thrift.Struct.write(/Users/sam/Documents/evernote/node_modules/evernote/lib/Thrift/Thrift.js:530:17)
在Thrift.Struct.write(/Users/sam/Documents/evernote/node_modules/evernote/lib/Thrift/Thrift.js:530:17)
在Thrift.Method.sendRequest(/Users/sam/Documents/evernote/node_modules/evernote/lib/Thrift/Thrift.js:162:15)
在NoteStoreClient.updateNote(/Users/sam/Documents/evernote/node_modules/evernote/lib/thrift/gen-js2/NoteStore.js:1700:8)

at/Users/sam/Documents/evernote/node_modules/evernote/lib/stores.js:106:14
Note
对象作为参数。您应该能够通过
new Evernote.Note()
实例化它。请注意,如果您不打算更新它,您似乎不必设置
标题。

您可以提供您的代码和/或您所做的事情吗?我的代码可以在这里找到:这个错误来自哪一行?它来自第44行