csco-spark's People
csco-spark's Issues
hubot with csco-spark
https://hubot.github.com/docs/scripting/
Do you have an example on using hubot (i.e. robot.respond) to create a room?
Error related to part where AuthService is required
server_1 | 20:18:51 installer-10 Error: Expect require('./authService') to export a function.
server_1 | 20:18:51 installer-10 at /app/node_modules/csco-spark/node_modules/uncache/index.js:18:15
server_1 | 20:18:51 installer-10 at Function.live.function (/app/node_modules/csco-spark/node_modules/uncache/index.js:20:6)
server_1 | 20:18:51 installer-10 at Object.<anonymous> (/app/node_modules/csco-spark/lib/csco-spark.js:9:25)
server_1 | 20:18:51 installer-10 at Module._compile (module.js:435:26)
Unhandled rejection (<{"message":"xxxx...>, no stack trace)
createRoomWithMembers.js
I am able to create new room using "createRoomWithMembers.js". However, I get the following error message in the terminal/console.
Unhandled rejection (<{"message":"xxxx...>, no stack trace)
where xxxx is the message id.
.zip files not handled properly
npm version 2.0.4 (Line 235)
When downloading ZIP files the Buffer toString needs to be converted to BASE64
Request errors not rejected
When making a call to an API, I noticed my catch
is not being hit when I intentionally passed invalid information.
After looking at the code, I noticed the following:
return new Promise(function(resolve, reject) {
request(options, function(err, res, body) {
if(err) resolve(err);
The last line show, should it not be if (err) reject(err);
? Otherwise how would someone using this library know that something failed without parsing/inspecting the returned message.
FYI:
Not sure if you have taken a look at it or not, but the same group that provide request
also provide https://www.npmjs.com/package/request-promise to make working with Promises even easier.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.