adityamukho / node-box-sdk Goto Github PK
View Code? Open in Web Editor NEWNode.js client for the Box.com Content API.
License: MIT License
Node.js client for the Box.com Content API.
License: MIT License
This is occurring in the latest npm module.
2015-06-24T08:27:47.11-0400 [App/0] ERR /home/vcap/app/node_modules/box-sdk/lib/connector.js:308
2015-06-24T08:27:47.11-0400 [App/0] ERR self.log.debug('Access token expired. Refreshing...');
2015-06-24T08:27:47.11-0400 [App/0] ERR ^
2015-06-24T08:27:47.11-0400 [App/0] ERR TypeError: Cannot read property 'debug' of undefined
2015-06-24T08:27:47.11-0400 [App/0] ERR at Object._handler [as handler] (/home/vcap/app/node_modules/box-sdk/lib/connector.js:308:21)
2015-06-24T08:27:47.11-0400 [App/0] ERR at Request._callback (/home/vcap/app/node_modules/box-sdk/lib/connector.js:35:16)
2015-06-24T08:27:47.11-0400 [App/0] ERR at Request.self.callback (/home/vcap/app/node_modules/box-sdk/node_modules/request/request.js:121:22)
2015-06-24T08:27:47.11-0400 [App/0] ERR at Request.emit (events.js:110:17)
2015-06-24T08:27:47.11-0400 [App/0] ERR at Request.<anonymous> (/home/vcap/app/node_modules/box-sdk/node_modules/request/request.js:978:14)
2015-06-24T08:27:47.11-0400 [App/0] ERR at Request.emit (events.js:129:20)
2015-06-24T08:27:47.11-0400 [App/0] ERR at IncomingMessage.<anonymous> (/home/vcap/app/node_modules/box-sdk/node_modules/request/request.js:929:12)
2015-06-24T08:27:47.11-0400 [App/0] ERR at IncomingMessage.emit (events.js:129:20)
2015-06-24T08:27:47.11-0400 [App/0] ERR at _stream_readable.js:908:16
2015-06-24T08:27:47.11-0400 [App/0] ERR at process._tickCallback (node.js:355:11)
When i try to use your module i get the following error:
[...]\node_modules\box-sdk\lib\connector.js:403
Monologue.mixin(Connection);
^
TypeError: Cannot call method 'mixin' of undefined
at Object. (e:\Projects\prmc\node_modules\box-sdk\lib\connector.js:403:11)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (e:\Projects\prmc\node_modules\box-sdk\lib\box-sdk.js:32:15)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
I think that problem is in the requirements:
Monologue = require('monologue.js')(_)
thath probably can be changed just in
Monologue = require('monologue.js')
What should I do, if I have file data already in memory or S3, not at FS?
The Express documentation that I find online says that
app.configure(function () {
is an old, deprecated way to setup an environment.
What version of node / express / other libs are you using?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.