Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-26696] CLI: Improve errors that arise during "Processing JavaScript files" phase

GitHub Issuen/a
TypeImprovement
PriorityNone
StatusClosed
ResolutionDone
Resolution Date2020-01-14T21:49:07.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsCLI
Labelsn/a
ReporterEwan Harris
AssigneeEwan Harris
Created2019-01-07T15:48:05.000+0000
Updated2020-01-14T21:49:07.000+0000

Description

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

Attachments

FileDateSize
comsoleLog_run_build.txt2019-09-10T08:11:16.000+00008490

Comments

  1. Sharif AbuDarda 2019-09-09

    [~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.
  2. Ewan Harris 2019-09-16

    [~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.

JSON Source