[DAEMON-270] Appcd Deamon not working
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Resolved |
Resolution | Fixed |
Resolution Date | 2019-01-25T04:35:40.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Appc Daemon 2.0.0 |
Components | appcd |
Labels | n/a |
Reporter | Keerthi Mahalingam |
Assignee | Chris Barber |
Created | 2019-01-24T19:45:04.000+0000 |
Updated | 2019-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
- Chris Barber 2019-01-25
This error stems from
snooplogg@2.x
which removedhumanize
,moment
,figures
, andpluralize
dependencies because there were never used bysnooplogg
other than simply re-exported. This bloatedsnooplogg
and hence why there were removed. When the Appc Daemon was updated tosnooplogg@2.x
, the various packages which depended on those formersnooplogg
dependencies were updated.appcd-logger
is the only package that directly depends onsnooplogg
. Whenappcd-logger
was updated tosnooplogg@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 useappcd-logger@1.1.4
and in turn pulled insnooplogg@2.0.1
which was the version the stripped unused dependencies. To resolve this,appcd-logger@1.x
needed to revert the upgrade tosnooplogg@2.x
. The commit is here: https://github.com/appcelerator/appc-daemon/commit/4814d93a373f47fc6602361c34b0a53d3ea500e2.appcd-logger@1.1.4
has been republished asappcd-logger@2.0.0
Sinceappcd-logger@1.1.4
cannot be unpublished, soappcd-logger@1.1.3
was re-published asappcd-logger@1.1.5
, which makesappcd@1.x
happy. - Ewan Harris 2019-01-25 New appc cli @ 7.0.10-master.6 in preprod should contain these fixes . Will verify later
- 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.