Description
The android build currently errors with the below, this is because it's trying to look for a dependency of the app used for polyfilling which was removed
[LiveView] { Error: Cannot find module '@babel/polyfill/package.json'
at Function.Module._resolveFilename (module.js:548:15)
at Function.resolve (internal/module.js:18:19)
at unmarkPackageAndDependencies (/Users/Josh/Library/Application Support/Titanium/mobilesdk/osx/8.1.0/android/cli/commands/_build.js:2824:33)
at AndroidBuilder.<anonymous> (/Users/Josh/Library/Application Support/Titanium/mobilesdk/osx/8.1.0/android/cli/commands/_build.js:2840:5)
at /Users/Josh/Library/Application Support/Titanium/mobilesdk/osx/8.1.0/node_modules/node-appc/lib/async.js:82:6
at /Users/Josh/Library/Application Support/Titanium/mobilesdk/osx/8.1.0/node_modules/async/dist/async.js:3888:9
at /Users/Josh/Library/Application Support/Titanium/mobilesdk/osx/8.1.0/node_modules/async/dist/async.js:473:16
at replenish (/Users/Josh/Library/Application Support/Titanium/mobilesdk/osx/8.1.0/node_modules/async/dist/async.js:1006:25)
at iterateeCallback (/Users/Josh/Library/Application Support/Titanium/mobilesdk/osx/8.1.0/node_modules/async/dist/async.js:995:17)
at /Users/Josh/Library/Application Support/Titanium/mobilesdk/osx/8.1.0/node_modules/async/dist/async.js:969:16 code: 'MODULE_NOT_FOUND' }
Steps to reproduce
1. Build for Android
Actual
Above error
Expected
No error
PR: https://github.com/appcelerator/titanium_mobile/pull/10735
Closing ticket, fix verified SDK version
8.1.0.v20190301155716
. *Test steps* Ran a titanium application through CLI using the Liveview flag and no error was seen (Android). *Test Environment*