[TIMOB-13652] New regression with Node.js 0.10.X as behavior of path.join changed
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Low |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2013-05-05T19:46:32.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | 2013 Sprint 09 JS, 2013 Sprint 09, Release 3.2.0 |
| Components | CLI |
| Labels | regression |
| Reporter | Kenan Sulayman |
| Assignee | Chris Barber |
| Created | 2013-04-23T17:32:10.000+0000 |
| Updated | 2017-03-16T21:01:08.000+0000 |
Description
With recent changes of Node, starting with 0.10.X path.join will throw an error when an argument is not of type String. Thus, the runtime stops at a point in node-appc/lib/android.js where mistakenly is assumed, a variable is not undefined. This crashes Titanium CLI and all applications with node-appc as dependency.
I propose https://github.com/appcelerator/node-appc/pull/43 as a fix.
Closing ticket as fixed.