Titanium JIRA Archive
Appcelerator Community (AC)

[AC-6237] [ERROR] Cannot read property 'buildError' of undefined

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionInvalid
Resolution Date2019-05-06T23:44:16.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterRainer Schleevoigt
AssigneeShak Hossain
Created2019-05-02T16:08:55.000+0000
Updated2019-05-06T23:44:16.000+0000

Description

Suddenly this error stops the build process: appc ti build --verbose -p android. These steps was unsuccessful: * cleaning project, * rebooting machine * npm uninstall appcelerator -g / npm install appcelerator -g * appc logout/login * change SDK * Googleling: => babel issue? * transpile=false in tiapp.xml There are no syntax (lint) errors in code. SDK 8.0.0.GA
Operating System
  Name                        = Mac OS X
  Version                     = 10.14.4
  Architecture                = 64bit
  # CPUs                      = 8
  Memory                      = 16.0GB

Node.js
  Node.js Version             = 9.0.0
  npm Version                 = 5.5.1

Titanium CLI
  CLI Version                 = 5.0.14
  node-appc Version           = 0.2.41

Comments

  1. Rainer Schleevoigt 2019-05-02

    This is full log: https://gist.github.com/AppWerft/bb4d9603b92ccef20a446ddf7650525f
  2. Rainer Schleevoigt 2019-05-02

    Now I have hide the folder ~/.appcelerator and a new install is forced: https://gist.github.com/AppWerft/1701a9c8bddc9501cbfaf184b4ba295a
  3. Rainer Schleevoigt 2019-05-02

    Now I have reinstalled brew and node, same issue. Here an error: {noformat} Rainers-MacBook-Pro-3:Hoerdat fuerst$ appc setup Finding latest version 7.0.10 ✓ Version 7.0.10 already installed. ? Do you plan on developing Titanium apps? Yes Checking your environment... You have the latest Titanium SDK release 8.0.0.GA 2019-05-02T17:38:19.354Z | ERROR | invalid config results returned from titanium. (JSON parse error) {noformat}
  4. Rainer Schleevoigt 2019-05-02

    Found: this pattern triggers this error: `
       const a=0;
       const a=1;
       
  5. Rainer Schleevoigt 2019-05-02

    Please close.

JSON Source