SDK Standalone doesn't work with node 0.12.0

Description

I tried to deploy an app using the GUI ("Load an app"); GUI hangs, and error message in the log. No apps will deploy. I'll try the CLI.

Release Notes

None

Activity

Show:
John Jackson
March 13, 2015, 9:21 AM

I tried the CLI. It was able to deploy an app, and lists it, but the app does not show up in the GUI.

By GUI, I mean the current 2.x series GUI, not the new 3.x series GUI. (I haven't tried that.)

John Jackson
March 13, 2015, 2:55 PM

OK, I've nailed this down. 2.8.0 SDK doesn't work with node 0.12.0.

I had installed node 0.12.0 to use some tools for doing Coopr screenshots...and then the SDK stopped working. Took all afternoon to figure out.

– We should have some debugging in the logs to help in debugging this, because nothing was showing an error.
– If we can't work with the latest version of node (or anything else), we should put something in the start script to not start and put out an appropriate message
– We need to add to docs about this upper bound. We should say "has been tested with node 0.10.32"...
– We should also think about how we can make it easier to find out about this: apparently Dawoud ran into this.

John Jackson
March 14, 2015, 2:25 PM

We (Parth, Ajai and I) met today over a hangout and looked into this. Ajai was able to duplicate the problem; it only shows upon the standalone (not when running directly from the IDE) and so may be a packaging issue with the libraries used in the standalone. A decision needs to be made if this is fixable for the 2.8.0 release, or if we should just say that CDAP doesn't work with node > 0.11.x.

Ajai Narayanan
March 18, 2015, 6:44 AM

We have updated the docs of 2.6, 2.7 and 2.8 about the Node versions that we support.

The corresponding PRs :
https://github.com/caskdata/cdap/pull/1659
https://github.com/caskdata/cdap/pull/1658
https://github.com/caskdata/cdap/pull/1657

Fixed

Assignee

Ajai Narayanan

Reporter

John Jackson

Labels

None

Docs Impact

None

UX Impact

None

Components

Fix versions

Affects versions

Priority

Blocker