[TIMOB-17052] CLI: Analytics events failed to process on Windows
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-05-30T22:46:49.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 3.3.0 |
Components | CLI |
Labels | n/a |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2014-05-30T22:36:11.000+0000 |
Updated | 2014-06-12T07:11:45.000+0000 |
Description
When building any app on Windows, when the build finishes, a Node.js exception is throw because the analytics file that is written contains semi-colons.
[INFO] : Project built successfully in 1s 928ms
fs.js:427
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
Error: ENOENT, no such file or directory 'C:\Users\QElab\.titanium\events\2014-05-30T22:29:26.697Z_450.json'
at Object.fs.openSync (fs.js:427:18)
at Object.fs.writeFileSync (fs.js:966:15)
at writeEvent (C:\Users\QElab\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\lib\analytics.js:153:7)
at C:\Users\QElab\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\lib\analytics.js:208:4
at Array.forEach (native)
at C:\Users\QElab\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\lib\analytics.js:207:15
at C:\Users\QElab\AppData\Roaming\npm\node_modules\titanium\node_modules\async\lib\async.js:533:17
at C:\Users\QElab\AppData\Roaming\npm\node_modules\titanium\node_modules\async\lib\async.js:119:25
at C:\Users\QElab\AppData\Roaming\npm\node_modules\titanium\node_modules\async\lib\async.js:24:16
at C:\Users\QElab\AppData\Roaming\npm\node_modules\titanium\node_modules\async\lib\async.js:530:21
Master pull request: https://github.com/appcelerator/node-appc/pull/94
No error is shown. Verified on: || Component || Version || | Appcelerator Studio | 3.3.0.201406111156 | | Titanium SDK | 3.3.0.v20140611130912 | | Node | 0.10.28 | | acs | 1.0.14 | | alloy | 1.4.0-rc | | npm | 1.4.9 | | CLI | 3.3.0-rc | | Titanium-code-processor | 1.1.1 | | OS | Windows8.1 |