Description
Currently in the SDK, we try to do some handling of the babel errors but I believe this could be improved. For example I'm hitting the below error in the cli (I'll update this ticket once I figure out what causes it), and I have no indication of what I can do to fix it.
[DEBUG] Symlinking /Users/eharris/Documents/Appcelerator_Studio_Workspace/ticreateapp/build/android/bin/assets/Resources/appicon.png => /Users/eharris/Documents/Appcelerator_Studio_Workspace/ticreateapp/build/android/res/drawable/appicon.png
[INFO] Processing JavaScript files
[ERROR] don't know how to turn this value into a node
[~eharris], Have you figured out the reason for this issue? We have enterprise customer having the same issue with packaging application for app store with SDK 8+, but the app compiles fine in device and simulator for both Android and iOS. Thank you.
[~sdarda], this is an error in the babel-minify project we use. There's no "general" fix for the problem really (aside from disabling the minification). This ticket is just to help surface the error better. The user can disable the minification using
\-\-skip-js-minify
. I believe the error is arising from the jquery lib in their application.