- Application type: web/arrow
- Titanium SDK: 4.2.0, 7/24/15, 67c708a
- Platform & version: Arrow 0.4.0
- Host Operating System: Windows 7
- Titanium Studio: 4.1.1.201507141126
- Test case: http://127.0.0.1:8080/api/testuser/count
I'm working on migrating my Node.ACS app to Arrow following these instructions. I've created a new arrow app using appc new -t arrow -n ArrowProject. I've only migrated my package.json code so far. When I call tthe URL in the Test Case, it produces the correct result, but I'm getting this error in the console:
Error: write after end at writeAfterEnd (_stream_writable.js:133:12) at WriteStream.Writable.write (_stream_writable.js:181:5) at Logger._emit (u:\.appcelerator\install\4.0.1\package\node_modules\appc-logger\node_modules\bunyan\lib\bunyan.js:811:22) at Logger.bunyan._emit (u:\.appcelerator\install\4.0.1\package\node_modules\appc-logger\lib\logger.js:243:21) at Logger.<anonymous (u:\.appcelerator\install\4.0.1\package\node_modules\appc-logger\node_modules\bunyan\lib\bunyan.js:894:24) at Logger.info (u:\.appcelerator\install\4.0.1\package\node_modules\appc-logger\lib\index.js:25:13) at Response.failure (u:\.appcelerator\install\4.0.1\package\node_modules\arrow\lib\response.js:272:23) at Response.notfound (u:\.appcelerator\install\4.0.1\package\node_modules\arrow\lib\response.js:289:15) at tasks (u:\.appcelerator\install\4.0.1\package\node_modules\arrow\lib\response.js:325:64) at u:\.appcelerator\install\4.0.1\package\node_modules\async\lib\async.js:607:21 at u:\.appcelerator\install\4.0.1\package\node_modules\async\lib\async.js:246:17 at iterate (u:\.appcelerator\install\4.0.1\package\node_modules\async\lib\async.js:146:13) at async.eachSeries (u:\.appcelerator\install\4.0.1\package\node_modules\async\lib\async.js:162:9) at _asyncMap (u:\.appcelerator\install\4.0.1\package\node_modules\async\lib\async.js:245:13) at Object.mapSeries (u:\.appcelerator\install\4.0.1\package\node_modules\async\lib\async.js:228:23) at Object.async.series (u:\.appcelerator\install\4.0.1\package\node_modules\async\lib\async.js:605:19) Uncaught Exception write after endHere is my package.json:
{ "name": "myapp-arrow", "description": "The Arrow implementation of the Node.ACS application.", "version": "1.0.0", "author": "", "license": "", "framework": "none", "keywords": [ "appcelerator", "arrow" ], "private": true, "dependencies": { "async": "^0.9.0", "lodash": "^2.4.1", "pkginfo": "^0.3.0", "promised-io": "~0.3.5", "request": "~2.53.0", "MD5": "~1.2.1", "morgan": "~1.5.3" }, "devDependencies": { "arrow": "*", "grunt": "^0.4.5", "grunt-contrib-clean": "^0.6.0", "grunt-contrib-jshint": "^0.10.0", "grunt-kahvesi": "^0.1.0", "grunt-mocha-test": "^0.11.0", "mocha": "^1.21.4", "should": "^4.0.4" }, "main": "app.js", "fromNode": "-------------- below here from Node -------------------", "preferGlobal": false, "bodyParser": true, "service": { "env_id": "", "org_id": "99999999" }, "repository": { "type": "git", "url": "" }, "alsoFromNode": { "dependencies": { "promised-io": "~0.3.5", "request": "~2.53.0", "MD5": "~1.2.1", "morgan": "~1.5.3" } } }Any help would be appreciated. Thanks!