Titanium JIRA Archive
Appcelerator Daemon (DAEMON)

[DAEMON-270] Appcd Deamon not working

GitHub Issuen/a
TypeBug
PriorityHigh
StatusResolved
ResolutionFixed
Resolution Date2019-01-25T04:35:40.000+0000
Affected Version/sn/a
Fix Version/sAppc Daemon 2.0.0
Componentsappcd
Labelsn/a
ReporterKeerthi Mahalingam
AssigneeChris Barber
Created2019-01-24T19:45:04.000+0000
Updated2019-01-25T11:37:00.000+0000

Description

*Steps To Reproduce:* 1.Run appcd command in terminal
appc appcd restart
*Expected:* Daemon should be restarted *Actual:* The daemon refuses to start and throws error An uncaught exception was thrown! Cannot destructure property filesize of 'undefined' or 'null'. Cannot destructure property filesize of 'undefined' or 'null'. *Note1:* For me when I changed the cli to 7.0.9 ,it worked fine. *Note 2:* For Josh Quick ,this happens with CLI v7.0.9 also and he tried with node v8.9.3 and v10.15.0 ​ It also causes Appc Studio to beach ball forever

Comments

  1. Chris Barber 2019-01-25

    This error stems from snooplogg@2.x which removed humanize, moment, figures, and pluralize dependencies because there were never used by snooplogg other than simply re-exported. This bloated snooplogg and hence why there were removed. When the Appc Daemon was updated to snooplogg@2.x, the various packages which depended on those former snooplogg dependencies were updated. appcd-logger is the only package that directly depends on snooplogg. When appcd-logger was updated to snooplogg@2.x, it should have been bumped a major version, but instead was only bumped a minor version. Because of this, older versions of the daemon would use appcd-logger@1.1.4 and in turn pulled in snooplogg@2.0.1 which was the version the stripped unused dependencies. To resolve this, appcd-logger@1.x needed to revert the upgrade to snooplogg@2.x. The commit is here: https://github.com/appcelerator/appc-daemon/commit/4814d93a373f47fc6602361c34b0a53d3ea500e2. appcd-logger@1.1.4 has been republished as appcd-logger@2.0.0 Since appcd-logger@1.1.4 cannot be unpublished, so appcd-logger@1.1.3 was re-published as appcd-logger@1.1.5, which makes appcd@1.x happy.
  2. Ewan Harris 2019-01-25

    New appc cli @ 7.0.10-master.6 in preprod should contain these fixes . Will verify later
  3. Samir Mohammed 2019-01-25

    Verified in 7.0.10-master.6. Unable to se the above uncaught exception and Activity Monitor shows the 'appcd' process.

JSON Source