Lewis John McGibbney created SENSSOFT-250: ---------------------------------------------
Summary: Create README for UserALE.js examples directory Key: SENSSOFT-250 URL: https://issues.apache.org/jira/browse/SENSSOFT-250 Project: SensSoft Issue Type: Improvement Components: documentation, UserALE.js Affects Versions: UserALE.js 0.3.0 Reporter: Lewis John McGibbney Assignee: Rob Foley Fix For: UserALE.js 1.0.0 Right now, when attempting to install and use UserALE.js from source, I had the following issues Installation requires the following prerequisites to be installed {code} npm install gulp npm install del npm install gulp-eslint npm install rollup npm install rollup-plugin-json npm install gulp-uglify npm install gulp-rename npm install gulp-mocha npm install babel-register npm install express npm install body-parser {code} In addition, we should provide a simple README which will live in the examples directory. It basically should state the startup procedure as well as how to use the *click me* button in the index.html. Finally it should explain what type of results one would expect... In addition, I received the following TypeError when logging events using the example server {code} TypeError: req.body.forEach is not a function at /usr/local/incubator-senssoft-useralejs/example/server.js:77:12 at Layer.handle [as handle_request] (/usr/local/incubator-senssoft-useralejs/node_modules/express/lib/router/layer.js:95:5) at next (/usr/local/incubator-senssoft-useralejs/node_modules/express/lib/router/route.js:137:13) at Route.dispatch (/usr/local/incubator-senssoft-useralejs/node_modules/express/lib/router/route.js:112:3) at Layer.handle [as handle_request] (/usr/local/incubator-senssoft-useralejs/node_modules/express/lib/router/layer.js:95:5) at /usr/local/incubator-senssoft-useralejs/node_modules/express/lib/router/index.js:281:22 at Function.process_params (/usr/local/incubator-senssoft-useralejs/node_modules/express/lib/router/index.js:335:12) at next (/usr/local/incubator-senssoft-useralejs/node_modules/express/lib/router/index.js:275:10) at jsonParser (/usr/local/incubator-senssoft-useralejs/node_modules/body-parser/lib/types/json.js:112:7) at Layer.handle [as handle_request] (/usr/local/incubator-senssoft-useralejs/node_modules/express/lib/router/layer.js:95:5) {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)