Javascript 节俭中的错误
我在运行脚本时遇到此错误。不知道为什么会这样。似乎Evernote的节俭系统中有个漏洞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
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行