Description
Building an application for device (or test deploytype) fails with the below, error is coming from babel-core here
https://github.com/babel/babel/blob/6.x/packages/babel-core/src/transformation/file/options/option-manager.js#L269
[INFO] Processing JavaScript files
[ERROR] Couldn't find preset "babili" relative to directory "/Users/eharris/Documents/Appcelerator_Studio_Workspace/ti.bench"
Steps to reproduce
1. Create an app
ti create -t app --name babelerror --id com.babel -p all --no-prompt --workspace-dir .
2. Build for device/development deploytype
ti build -p android -T device --build-only
or
ti build -p android -T device --build-only
or
{{ti build -p android -D development --build-only
Actual
Build errors out
Expected
Build should not error out
[~cwilliams] not sure whether this is a known? Couldn't find anything in jira
master/6.2.0: https://github.com/appcelerator/titanium_mobile/pull/9023 6.1.0: https://github.com/appcelerator/titanium_mobile/pull/9024
CR passed. This also should fix the reopening of TIMOB-23490, so [~amukherjee]: Please merge this one first.
Passed FR with this environment: Node Version: 6.10.1 NPM Version: 3.10.10 Mac OS: 10.12.4 Appc CLI: 6.2.0 Appc CLI NPM: 4.2.9 Titanium SDK versions: 6.1.0 and 6.2.0 locally built with PR's 9023 and 9024 Xcode 8.3.2 Tested with the demo code in the description, and I was able to build successfully. [~hansknoechel], [~cwilliams] I was able to merge PR/9024 for 6_1_X. I was not able to merge PR/9023 for master. Please check the PR, and let me know what to do. Once that's resolved, I'll move this ticket out of "In Review" status.
Fix is seen in these builds: 6.1.0.v20170506074257 6.2.0.v20170506074136 Closing this ticket.
[~hansknoechel] Merging this PR did not fix the issue for TIMOB-23490.